日期:2014-05-18  浏览次数:20756 次

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