hi all
my requirement is that when i clik my chek box the corresponding textbox should be enabled otherwise it should be disabled. following is my code:
<tr bgcolor="<%=row Color%>">
<td> </td>
<td><input type="checkbox" name="chkbox2" value="Y"></td>
<td>Party code </td>
<td><input name="partyCd" type="text" maxlength="20" onDblClick="cal lLov('../lov/lovPartyCd.jsp' ,'300','316')" size="10" id="partyCd" readonly>
<input name="partyDesc " type="text" onDblClick="cal lLov('../lov/lovPartyCd.jsp' ,'300','316')" size="40" maxlength="10" readonly></td>
<td> </td>
<td> </td>
</tr>
please make change in this code to fulfill my requirements.
thanks in advance
my requirement is that when i clik my chek box the corresponding textbox should be enabled otherwise it should be disabled. following is my code:
<tr bgcolor="<%=row Color%>">
<td> </td>
<td><input type="checkbox" name="chkbox2" value="Y"></td>
<td>Party code </td>
<td><input name="partyCd" type="text" maxlength="20" onDblClick="cal lLov('../lov/lovPartyCd.jsp' ,'300','316')" size="10" id="partyCd" readonly>
<input name="partyDesc " type="text" onDblClick="cal lLov('../lov/lovPartyCd.jsp' ,'300','316')" size="40" maxlength="10" readonly></td>
<td> </td>
<td> </td>
</tr>
please make change in this code to fulfill my requirements.
thanks in advance
Comment