摘要: String.prototype.isNullOrWhiteSpace = function () { /// /// 变量是undefined或者null或者空字符串 出自http://www.cnblogs.com/ahjesus 尊重作者辛苦劳动成果,转载请注明出处,谢谢! /// /// if (this.trim() == "") { return true; } else if (this == null) { return true; } else { ... 阅读全文
posted @ 2013-06-25 17:59 深海大虾 阅读(796) 评论(0) 推荐(0)