文章列表
一、用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) - ...