摘要: 1,验证文本框中的值是不是数字,并且设置数字大小范围View Code function fx() { var o = document.getElementById("txt_finsh").value; if (isNaN(o)) { alert("请输入如数字"); document.getElementById("txt_finsh").focus() } else { if (parseInt(o) >100... 阅读全文
posted @ 2011-03-29 11:51 高兴happy 阅读(1625) 评论(0) 推荐(1) 编辑