摘要:
<inputonkeypress="return /[\w\u4e00-\u9fa5]/.test(String.fromCharCode(window.event.keyCode))" onpaste="return !/[^\w\u4e00-\u9fa5]/g.test(window.clipboardData.getData('Text'))" ondragenter="return false"/> 再粘贴一些别人写的。1.只能输入数字和英文的:<inputonkeyup="valu 阅读全文
posted @ 2011-09-19 19:18
Ole
阅读(1049)
评论(0)
推荐(0)

浙公网安备 33010602011771号