首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

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

2012-01-05 
如何隐藏掉input,又能在界面上显示取到的数据使input能取到值,又能在界面上显示数据,如何把input隐藏掉,这

如何隐藏掉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 ">

热点排行