On the click of a button, how can i make all the hidden radio buttons show up? Simplest way?
+2
A:
This is a really naive and easy way to do it, depends how you're hiding your radio buttons I guess.
$("input[type='radio']").show()
Andrew Barrett
2009-09-23 13:27:54
+1
A:
If you are hiding them with CSS display: none;
or visibility: hidden;
you can do the following:
$('#buttonID').click(function (){
$('input:radio').css('display', 'block'); //or css('visibility', 'visible');
});
It would help if you tell us more about the way they are hidden.
Cheers!
Bogdan Constantinescu
2009-09-23 13:30:09