日期:2014-05-17  浏览次数:20614 次

HTML文本框 添加 onkeyup事件
//只能输入数字
onkeyup='this.value=this.value.replace(/\D/g, '')'