禁止移動端鍵盤彈出的兩種方法,親測有效

第一種:標籤內加事件,input標籤內加οnfοcus=‘this.blur();’ios <input type="text" onfocus='this.blur();'> 第二種:js方法web $("#name").focus(function(){ document.activeElement.blur(); }) 有一個focusout()方法,能夠禁
相關文章
相關標籤/搜索