为什么这个字段显示在 IE 中?
我看过但找不到另一个这样的案例。
我正在使用隐藏属性,它仍然显示...
<input hidden="yes" value="<?php echo $sssssssss; ?>" name="ssssssssasas"></input>
为什么这个字段显示在 IE 中?
我看过但找不到另一个这样的案例。
我正在使用隐藏属性,它仍然显示...
<input hidden="yes" value="<?php echo $sssssssss; ?>" name="ssssssssasas"></input>
我会尝试hidden="yes"
用type="hidden"
.
<input type="hidden" value="..." name="..."></input>
以这种方式尝试
还有另一种选择,您可以使用它。
<div hidden> value </div> // this works in IE11
但你也可以尝试,
display:none; // set this for the variable you want to hide and you can access its value
你可以使用这个:
<div hidden="hidden"> value </div> // this works in IE7+
CSS:
[hidden] {
display: none;
}