Hi all, i'm having a problem reading checked values from radio button:
i have two sets of radio buttons and i need to read the value linked
to each selected/checked button.

Googling for answers i found this snippet:

$("inp...@name='NAME']:checked").val()

but it only works if there's just one set of buttons on the page.
If there are more then one of them (the first in the html code) "takes
charge" and all the buttons return the same value.

You can find a test case here:
http://www.kikentai.org/jquery/test.html

Try fiddling around with the radio buttons before clicking the "click
me!" button...

Thanks for your help!
Marcello

Reply via email to