Div Invisibility
Hi Guys,
I am trying to make a div invisible and make it visible only when YES radio button is checked on the screen.
I am not able to achieve this , any help would be appreciated.
The Code is given below:
<tr CLASS=TRBlueBg>
<td align=right> Auto Delete </td>
<td><INPUT TYPE="radio" NAME="auto_delete" value=1 >Yes
<INPUT TYPE="radio" NAME="auto_delete" value=0 checked>No</td>
<td colspan="6"> </td>
</tr>
<DIV name="sampleDiv" id="sampleDiv" "display:none">
<tr CLASS=TRBlueBg>
<td align=right>Expiry Date </td>
<td> <input type="text" disabled name="getexpirydate" size="30" maxlength="100">
<td> <input type="hidden" name="expirydate" size="30" maxlength="100">
</tr>
</DIV>
Cheers
Nitin
|