I have a 4 rows each row is has a label and a radio button.
I want to make it possible to click on the row to make the radio button on the clicked row true.
Here is an example of my markup
HTML Code:<form name="quiz" id="quizable"> <table id="q_table"> <tr><td>Banana</td><td><input type="radio" name="q1" id="q1_1" /></td></tr> <tr><td>Apple</td><td><input type="radio" name="q1" id="q1_2" /></td></tr> <tr><td>Coconut</td><td><input type="radio" name="q1" id="q1_3" /></td></tr> <tr><td>Cherry</td><td><input type="radio" name="q1" id="q1_4" /></td></tr> </table> </form>


Reply With Quote

Bookmarks