隐藏文本框

 1、<input type="hidden" value=""></input>对所有的文本框都起作用(隐藏域,多用于存数据)
  2、<input type="text" value="" style="display:none"></input>对象隐藏后,对象不占任何空间
  3、<input type="text" value="" style="visibility:hidden"></input>对象隐藏后,还有占有相应的空间大小
  4、<input type="text" value="" style"width:0;height:0;"></input>
--------------------- 
作者:人间至味是清欢 
来源:CSDN 
原文:https://blog.csdn.net/leng0920/article/details/77413089 
版权声明:本文为博主原创文章,转载请附上博文链接!

猜你喜欢

转载自blog.csdn.net/qq_35142645/article/details/84293327