读书人

怎么隐藏掉input,又能在界面上显示取到

发布时间: 2012-01-05 22:36:54 作者: rapoo

如何隐藏掉input,又能在界面上显示取到的数据
使input能取到值,又能在界面上显示数据,如何把input隐藏掉,这个如何搞呀;解决万上给分,谢谢.

[解决办法]
<input type= "hidden ">
[解决办法]
<input type=text style= "border:none ">
[解决办法]
还要显示数据?
那不能用type= "hidden "了,这个什么都看不到,试一下type= "text " onlyread= "true ",这个是显示文本框 但你不能修改数据
[解决办法]
<input type=text style= "border:0 " readOnly value= " ">

[解决办法]
disable=“false”
[解决办法]
<input style= "border:0px;background-color:blue " value= "123123123 ">

you can change the background-color to 'white ' or any other color if you want it to be the same as your page background.
[解决办法]
<input type=text style= "border:none ">

读书人网 >Java Web开发

热点推荐