摘要: JS Bin if(!String.prototype.trim) { String.prototype.trim = function () { return this.replace(/^\s+|\s+$/g,''); }; } // var dom=document.querySelector("[name=username]"... 阅读全文
posted @ 2017-05-15 10:21 chillylight 阅读(1194) 评论(0) 推荐(0) 编辑