I'd like to show or hide a table row depending on whether a certain radio
button is checked.

I can not use a $(theRadioButton).click( ... ) handler for several reasons.
One of them is that I need to check the state when the page loads and show
or hide the element accordingly.

I'm selecting the radio button like this:

$('input', 'div#hide3aButton')

That code does seem to successfully select the button. Now I need to find
out if it's checked I tried this:

if ($('input', 'div#hide3aButton').checked) { ... }

but it seem to always be false regardless of the state of the radio button.

Any help would be greatly appreciated.

Thanks.

E
-- 
View this message in context: 
http://www.nabble.com/How-to-determine-radio-button-state--tp14700653s27240p14700653.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to