摘要: 就是 你把 String.prototype.len = function() { return this.replace(/[^\x00-\xff]/g, "xx").length; } 放到你的 <Script></script>当中去,然后你要判断长度的那里 就这么用alert($("#文本框 阅读全文
posted @ 2017-04-22 14:44 jassy 阅读(403) 评论(0) 推荐(0) 编辑