去除空格
摘要:String.prototype.Trim = function () { return this.replace(/(^\s*)|(\s*$)/g, ""); }
阅读全文
posted @
2014-12-18 09:38
7月前减到115斤
阅读(171)
推荐(0)
常见的Js
摘要://根据单独的值切换所有复选框$("input[type='checkbox']").prop("checked", function( i, val ) { return !val;});//操作复选框$("input[type='checkbox']").prop({ disabled: tr...
阅读全文
posted @
2014-12-10 14:55
7月前减到115斤
阅读(243)
推荐(1)