移动端输入框禁止软键盘弹出
三种方法:
1、<input type="text" readonly="readonly" />
2、<input type="text" οnfοcus="this.blur()" />3、<input type="text" id="box" />
$("#box").focus(function(){ document.activeElement.blur(); })document.activeElement:返回文档中当前获得焦点的元素。声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。

