This question is a little weird but is playing with my head. I was looking how to verify if an input of type radio was checked/selected using JQuery.
I solved my problem using a code that looks like this:
if ($("#someId").is(":checked")) {
}
It is really simple but when I verify/inspect the input fields with the browser developer tools, none of the inputs has any attribute different, they all look the same. So:
How does the validation works? What does that function to know which of the inputs is really checked?
I will leave this Fiddle shared by @Peter J in another question so that you can see what I'm talking about and maybe help me: http://jsfiddle.net/RhnvU/
Thanks :)