2017年5月8日

字符串长度

摘要: $("input").keyup(function(){ name_length=getLength($(this).val()); console.log(name_length) }) function getLength(str){ return str.replace(/[^\x00-xff 阅读全文

posted @ 2017-05-08 21:16 神乐丶 阅读(131) 评论(0) 推荐(0)

导航