String.prototype.isEmpty = function () { var s1 = this.replace(/[\r\n]/g, ‘‘).replace(/[ ]/g, ‘‘), s2 = (s1 == ‘‘) ? true : false; return s2; };
$(this).html().isEmpty();
标签:span blog ret style var gpo == log pos
String.prototype.isEmpty = function () { var s1 = this.replace(/[\r\n]/g, ‘‘).replace(/[ ]/g, ‘‘), s2 = (s1 == ‘‘) ? true : false; return s2; };
$(this).html().isEmpty();
标签:span blog ret style var gpo == log pos
原文地址:http://www.cnblogs.com/zjj1990/p/8086910.html