禁止移动端键盘弹出的两种方法,亲测有效

第一种:标签内加事件,input标签内加οnfοcus=‘this.blur();’ios <input type="text" onfocus='this.blur();'> 第二种:js方法web $("#name").focus(function(){ document.activeElement.blur(); }) 有一个focusout()方法,能够禁
相关文章
相关标签/搜索