I need help with code that auto-populates the options in a select. I have a group of about 30 check boxes that i want to fire a subroutine when clicked. That sub needs to loop through all of those checkboxes and if it has a specific class and is checked then the values of those checkboxes need to be added as options to 6 different selects.
If you uncheck a box then it needs to clear out the selects and repopulate again with the new values of all of the boxes checked.
Can anyone help?
If you uncheck a box then it needs to clear out the selects and repopulate again with the new values of all of the boxes checked.
Can anyone help?