I have a multi-select list box that has its frist option as "Select All"
<option value="">Select All</option>
<option value="1">Sample Value 1</option>
<option value="2">Sample Value 2</option>
I need a script that can select all the options in the list by clicking on the "Select All" option. The trick here is that these multi-selects are dynamic and can have any number of options at any given time. Is this possible?