摘要: 1,让框里的东西不换行,多了的自动加... meizz 测试 test 测试 test 测试 test 测试 test 测试.2,js截取字符串长度 String.prototype.sub = function(n){ var r = /[^\x00-\xff]/g; if(this.replace(r, "mm").length =n) { return ... 阅读全文