Hi, i have a check box and a value list on a form. These are generated within php. Each check box has the same name but dirrerent id and each value list has the same name but different id..
How can i check the select box to disable the value list, and set the value to "". And how can i un select the Check box and re-enable the value list??
Here is the code for my check box at the moment...
Here is the code for my value list..
Please can anyone help!!!
Kindest regards,
Brian
How can i check the select box to disable the value list, and set the value to "". And how can i un select the Check box and re-enable the value list??
Here is the code for my check box at the moment...
Code:
<input type="checkbox" class="button" name="NotRemoved[]" id="<?php echo $Unique_ID?>" value="<?php echo $Unique_ID?>"/></input>
Here is the code for my value list..
Code:
<select name="BinNumber[]" class="button" id="<?php echo $Unique_ID?>">
<option value=""></option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
Please can anyone help!!!
Kindest regards,
Brian