I need to be able to populate a dropdown list with values that are selected (checked) in checkboxes.
Each checkbox value is placed in an array (usergroup[]). Is there a way to get the values of checked boxes without submitting the form?
Code:
<input type="checkbox" name="usergroup[]" value="<?=$usergroup_name?>">
Each checkbox value is placed in an array (usergroup[]). Is there a way to get the values of checked boxes without submitting the form?