I have 17 checkboxes- I need to check which ones have been checked (max 3 - I have a function that checks the max amount already) the thing I need help with is assigning the three checked boxes to three variables say 1, 2 and 3. I want this to be within its own function - I will make the variables global so I can access them from other functions (my insert function).
My checkboxes are set up as follow:
<td><input type='checkbox' name='reason1' value='http://www.webdeveloper.com/forum/archive/index.php/1' onClick="countChoices(this)">Internal rattling</td>
Can anyone help please
My checkboxes are set up as follow:
<td><input type='checkbox' name='reason1' value='http://www.webdeveloper.com/forum/archive/index.php/1' onClick="countChoices(this)">Internal rattling</td>
Can anyone help please