设立文本框为不可用
设置文本框为不可用以下为几种不同的“设置文本框为不可用”的方法:方法二: input id UserID type tex
设置文本框为不可用
以下为几种不同的“设置文本框为不可用”的方法:
方法二: <input id= "UserID" type= "text" readonly/>?? 只读?
方法三: <input id= "UserID" type= "text" style="display:none"/>?? 隐藏(但占位置)?
方法四: <input id= "UserID" type= "text" style="visibility:hidden"/> 隐藏(不占位置)
相对于这几种方法而言,它们的效果和作用还是有差别的,自己可以逐一试看效果…… 1 楼 zhangyaochun 2012-04-04 LZ的这个反了吧,visibility:hidden 是会占据位置的
可以参考:http://zhangyaochun.iteye.com/blog/1199554