radio button: how to detect which was last checked in a multi group of buttons
The concept is to readjust through the "onChange" or the "onClick" event all these buttons according to the last selected by the user until the user is satisfied with the selection and "submits".
Is it necessary to have two arrays, one showing the current state of all the radio buttons and the other showing the state of these buttons before the last "click" so the script can make the necessary changes?
Or is there a simpler solution?
Thank you for your help.