Hidden field value displayed in IE

Why is this field displayed in IE?

I look, but did not find another case.

I am using a hidden attribute and it is still showing ...

<input hidden="yes" value="<?php echo $sssssssss; ?>" name="ssssssssasas"></input> 
+4
source share
4 answers

I would try replacing hidden="yes" with type="hidden" .

+11
source
 <input type="hidden" value="..." name="..."></input> 

Try this way

+2
source

there is another choice and you can use this.

 <div hidden> value </div> // this works in IE11 

but you can also try,

 display:none; // set this for the variable you want to hide and you can access its value 
0
source

You can use this:

 <div hidden="hidden"> value </div> // this works in IE7+ 

CSS

 [hidden] { display: none; } 
0
source

All Articles