Hi, i have a drop down list with 2 items in it. I want to call a javascript function when i select an item. There is a twist though. if i select item 1 out of the list i want to call function 1 and if i select item 2 out of the list i want to call function2.
this is what i am currently doing with check boxes...
div align="center"><b><font size="-1"><%=TableA_Lable%>
<input type="checkbox" id="checkTableA" onClick="updateRule( '.tableA', this );" name="TableA" checked/>
<%=TableB_Lable%>
<input type="checkbox" id="checkTableB" onClick="updateRule( '.tableB', this );" name="TableB" checked/>
Can anyone help me convert the two check boxes into a dropdown list????
kindest thanks,
nebooaw
this is what i am currently doing with check boxes...
div align="center"><b><font size="-1"><%=TableA_Lable%>
<input type="checkbox" id="checkTableA" onClick="updateRule( '.tableA', this );" name="TableA" checked/>
<%=TableB_Lable%>
<input type="checkbox" id="checkTableB" onClick="updateRule( '.tableB', this );" name="TableB" checked/>
Can anyone help me convert the two check boxes into a dropdown list????
kindest thanks,
nebooaw