隐藏input的三种方法和区别

一、<input type="hidden" />
二、<input type="text" style="display:none" />
以上两种方法可以实现不留痕迹的隐藏。
三、<input type="text" style="visibility: hidden;" />
第三种方法可以实现占位隐藏(会留下空白而不显示)

原文地址:https://www.cnblogs.com/muhy/p/10945977.html