I'm feeling overwhelmed and struggling to understand the reasoning behind this.
There are 4 radio buttons
(0) <input type="radio" name="radioGroup" checked="checked">
( ) <input type="radio" name="radioGroup">
( ) <input type="radio" name="radioGroup">
( ) <input type="radio" name="radioGroup">
When the user selects the second button, I want the markup to adjust like this: There are 4 Radio buttons
( ) <input type="radio" name="radioGroup">
(0) <input type="radio" name="radioGroup" checked="checked">
( ) <input type="radio" name="radioGroup">
( ) <input type="radio" name="radioGroup">
I've attempted using different forms of click
events to uncheck the previously selected button but it's not working as intended.
Although the attribute is being set to 'checked' for the newly selected button, it's not deselecting the originally checked button. http://jsfiddle.net/Dnd2L/27/