, , display: none visibility: hidden .
. , for:
<input id=radio1 name=testradios type=radio><label for=radio1>radio1</label>
<br>
<input id=radio2 name=testradios type=radio><label for=radio2>radio2</label>
#radio1 {
display: none;
}
OR
#radio1 {
visibility: hidden;
}
Both hide the radio button, but the tag is still clickable and checks its radio object.
http://jsfiddle.net/m0fbd75w/
source
share