|
1.禁止户用直接写文件路径的 <input type="file" name="file" onpropertychange='file1.value=this.value' style=display:none> <input type='text' name=file1 readonly> <INPUT type="button" value="浏览" id=button1 name=button1 onclick='file.click()'> 2.文本框只能输入数字: <input onKeyUp="value=value.replace(/[^/d]/g,'') " value="" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^/d]/g,''))"> |
呵呵 小伎俩 但很凑效
最新推荐文章于 2013-05-10 16:11:49 发布
2551

被折叠的 条评论
为什么被折叠?



