摘要: 1.文本框只能输入数字代码(小数点也不能输入)<input onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"> 2.只能输入数字,能输小数点.<input onkeyup="if(isNaN(value))execComm... 阅读全文
posted @ 2009-10-16 01:13 niuky 阅读(501) 评论(0) 推荐(0)