摘要: 方法1: οnfοcus=this.blur() 当鼠标放不上就离开焦点 <input type="text" name="input1" value="()" οnfοcus=this.blur()>方法2:readonly <input type="text" name="input1" val 阅读全文
posted @ 2020-09-04 16:41 void9main 阅读(626) 评论(0) 推荐(0) 编辑
摘要: 当之前的input框输入了数据后,下次输入有历史记录问题的解决方法 <input id="vhcl_no" type="text" autocomplete="off"> input的属性autocomplete默认为on其含义代表让浏览器自动记录之前输入的值 如果想要关闭记录可以在input中加入 阅读全文
posted @ 2020-09-04 09:13 void9main 阅读(884) 评论(0) 推荐(0) 编辑