What if I have two (or more) exclusive "radio" buttons?
Your sample has only a single (useless I'm afraid) radiobutton which is always "on", what happens if I have more buttons with the same name (in order to make them mutually exclusive).
Using jquery you should write something like $('input[name="XYZ"]:checked').val() in order to get the value of the checked one.
What if I have two (or more) exclusive "radio" buttons?
Your sample has only a single (useless I'm afraid) radiobutton which is always "on", what happens if I have more buttons with the same name (in order to make them mutually exclusive).
Using jquery you should write something like $('input[name="XYZ"]:checked').val() in order to get the value of the checked one.