Get the checked value of 2 sets of radiobuttons using jQuery
Posted
by
Hans Wassink
on Stack Overflow
See other posts from Stack Overflow
or by Hans Wassink
Published on 2012-06-29T15:08:04Z
Indexed on
2012/06/29
15:15 UTC
Read the original article
Hit count: 196
jQuery
|radio-button
Im having a weird issue here. Its probably just something stupid but I dont see it. I have two sets of radiobuttons, group1 and group2, and I want to get their values in a function.
I have 1 clickevent on all radiobuttons in that div and when I click them I want to display the check-values of both groups. But he only reads the value of the first group. and so it always displays 1-1 2-2 3-3 4-4 instead of possibly 1-2 3-1 etc....
There is a jsfiddle here what am I missing??
© Stack Overflow or respective owner