文本框只能输入数字
ASP 2008/1/5 8:29:02 点击:不统计
文本框只能输入数字
<input onkeyup="value=value.replace(/[^\d]/g,'') "onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
·上一篇:文本框只能输入数字字母 >> ·下一篇:ASP中FSO的神奇功能 >>
文本框只能输入数字
<input onkeyup="value=value.replace(/[^\d]/g,'') "onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">