i have all elements(mostly chevkboxes) inside a table.if i check a check box the remaining checkboxes under it(placed in table) should be visible .i need to develop it in javascript pls help me out
sample code to give brief intro of my structure
Expand|Select|Wrap|Line Numbers
- <table id="TABLE1" rules="none" runat="server" width="100%" >
- <tr>
- <td bgcolor="#6699ff" colspan="2">
- <asp:CheckBox ID="cbxProblemsEncounteredDuringSurgery" runat="server"
- Text="Problems Encountered During Surgery" AutoPostBack="True" /></td>
- </tr>
- <tr>
- <td colspan="2">
- <table width="100%">
- <tr>
- <td>
- <asp:CheckBox ID="cbxConversionfromendoscopetoopenprocedure" runat="server" Text="Conversion from endoscope to open procedure" AutoPostBack="True" /></td>
- <td>
- <asp:CheckBox ID="cbxHemorrhage" runat="server"
- Text="Hemorrhage" AutoPostBack="True" /></td>
- </tr>
- <tr>
- <td>
- <asp:CheckBox ID="cbxProlongedsurgerybeyondavgduration" runat="server" Text="Prolonged surgery beyond avg.duration" AutoPostBack="True" /></td>
- <td>
- <asp:CheckBox ID="cbxUnplannedprocedurerequiringchangeofanaestheticplan" runat="server" Text="Unplanned procedure requiring change of anaesthetic plan" AutoPostBack="True" /></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>