做门面商铺比较好的网站,小说网站模板html,河南省建设部网站官网,济南定机票网站建设input readonly模式下在ie跟火狐访问的时候会有光标会出现#xff0c;以下方法可解决这个问题 input typetext readonly unselectableon onfocusthis.blur() 1.unselectableon 是解决ie下光标出现的问题 2.οnfοcusthis.blur() 是解决… input readonly模式下在ie跟火狐访问的时候会有光标会出现以下方法可解决这个问题 input typetext readonly unselectableon onfocusthis.blur() 1.unselectableon 是解决ie下光标出现的问题 2.οnfοcusthis.blur() 是解决火狐下光标出现的问题也可以写成全局的 $(document).on(focus, input[readonly], function () {this.blur();}) 这样问题就解决了转载于:https://www.cnblogs.com/rongjuan/p/7722262.html