- <input οnfοcus="this.blur();" type="text" style="border:0px;" id="ry_xm" value="" readonly="readonly" />
this.blur():取消聚焦,也就是说,鼠标不能放在该文本框上。
当显示数据的时候不准再修改数据时可以这样用。
转载于:https://blog.51cto.com/doubleqian/514766
this.blur():取消聚焦,也就是说,鼠标不能放在该文本框上。
当显示数据的时候不准再修改数据时可以这样用。
转载于:https://blog.51cto.com/doubleqian/514766