摘要: JS 判断字串字节数,并截取长度 var matchWords; function notifyTextLength() { var inputNum = document.getElementById("txtTitle").value.replace(/[^\x00-\xff]/g, "**") 阅读全文
posted @ 2016-11-29 21:02 代码恶童 阅读(1368) 评论(0) 推荐(0) 编辑