方法一: <input id= "UserID" type= "text" disabled/> 不可用
方法二: <input id= "UserID" type= "text" readonly/> 只读
方法三: <input id= "UserID" type= "text" style="display:none"/> 隐藏(不占位置)
方法四: <input id= "UserID" type= "text" style="visibility:hidden"/> 隐藏(占位置)
如何把文本框设置为不可用的四种方法
最新推荐文章于 2021-12-28 14:18:28 发布