三种方法:
1、<input type="text" readonly="readonly" />
2、<input type="text" onfocus="this.blur()" />3、<input type="text" id="box" />
$("#box").focus(function(){
document.activeElement.blur();
})
document.activeElement:返回文档中当前获得焦点的元素。
三种方法:
1、<input type="text" readonly="readonly" />
2、<input type="text" onfocus="this.blur()" />3、<input type="text" id="box" />
$("#box").focus(function(){
document.activeElement.blur();
})