`
akemt
  • 浏览: 1005 次
  • 性别: Icon_minigender_1
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
一、用JS把全角转换成半角(不能转换标点符号) <input type="text" size="10" maxlength="10" onkeyup="javascript:var t = ''; with(this.value) { for (var i = 0; i < length; i++) t += (65296 <= charCodeAt(i) && charCodeAt(i) <= 65305) ? String.fromCharCode(charCodeAt(i) - ...
Global site tag (gtag.js) - Google Analytics