hi,
im my form...i had 2 combo boxes....if i click one combo box second combo box should be disabled that im doing....its working fine...but my problem is if i want to select both combo boxes how to do...i tried..but not getting any idea...here is my code...
i need help...can anyone provide me the solution.
thanks,
madhu.
im my form...i had 2 combo boxes....if i click one combo box second combo box should be disabled that im doing....its working fine...but my problem is if i want to select both combo boxes how to do...i tried..but not getting any idea...here is my code...
Code:
<td><font color="#800000" size=""><b>Multi-Act-Prop</b></font></td>
<td><input type="checkbox" name="multiActProp" value="LOW_BAL,"
id="low" onclick="if (this.checked){
document.getElementById('valid').disabled=true;
document.getElementById('mvalid').disabled=true;}
else{
document.getElementById('valid').disabled=false;
document.getElementById('mvalid').disabled=false;}">Low Balance
<select NAME="multiActProp" id="lowbal" size="1">
<option >--- Select Options ---</option>
<option value="REVERT">REVERT</option>
</select> <br>
<input type="checkbox" name="multiActProp" value="VALIDITY,"
id="valid" onclick="if (this.checked){
document.getElementById('low').enabled=true;
document.getElementById('lowbal').enabled=true;}
else{
document.getElementById('low').enabled=false;
document.getElementById('lowbal').enabled=false;}">Validity<br>
<select NAME="multiActProp" size="1" id="mvalid">
<option>--- Select Options ---</option>
<option value="SET_MAX">SET_MAX</option>
<option value="ADD_TO_CURRENT">ADD_TO_CURRENT</option>
<option value="RETAIN_THE_SAME">RETAIN_THE_SAME</option>
<option value="DEFAULT">DEFAULT</option>
</select><br>
thanks,
madhu.
Comment