摘要:
onChange="if(this.value.replace(/([^\d\.\+\-\*/]+)*/g,'')!=""){alert('真抱歉!XXX只能填写数字、小数点或运算符。');this.focus();}">onkeyup="value=value.replace(/([^\d/]+)*/g,''); " //不带符号的数值 -------------输入数字:<inpu... 阅读全文
posted @ 2006-04-24 15:38 悔晟 阅读(351) 评论(0) 推荐(0) 编辑