摘要:
此处案例一个输入内容后即可清除不合法的内容<input name="showPageNum" type="text" id="showPageNum" onchange="this.value=this.value.replace(/[^(0-9)]/g,'');" onkeyup="this.value=this.value.replace(/[^(0-9)]/g,'');" size="2" maxlength="4&quo 阅读全文
posted @ 2011-11-14 11:31
helong
阅读(462)
评论(0)
推荐(0)