With support from Sergiy I have created some radio button groups by mapping to an array. I am able to get the values by looping through all radio buttons after they have been set but I need to know when a fault button is clicked and what value is held for the button. part of the generated html is below I have omitted the table structure that wraps around each fieldset. Can you tell me how I would obtain the values on the click event.
Code: Select all
<!-- mobileradiobutton_9 --
span class="vehicle_check_page_mobileradiobutton_9" name="mobileradiobutton_9"
/spanOK
<!-- mobileradiobutton_10 --
span class="vehicle_check_page_mobileradiobutton_10" name="mobileradiobutton_10"
/spanFault
<!-- mobileradiobutton_9 --
span class="vehicle_check_page_mobileradiobutton_9" name="mobileradiobutton_9"
/spanOK
<!-- mobileradiobutton_10 --
span class="vehicle_check_page_mobileradiobutton_10" name="mobileradiobutton_10"
/spanFault