这里我有一张桌子:
<table border="1" border-style="dashed" width="80%" id='tblAddBirthdays'>
<tr>
<th>First Name</th>
<th>Last Name</th>
</tr>
<tr id="tr">
<td><asp:TextBox ID="txFirstName" runat="server"></asp:TextBox></td>
<td><asp:TextBox ID ="txLastName" runat="server" /></td>
<td><asp:DropDownList ID="dlMonth" runat="server" /></td>
<td><asp:DropDownList ID="dlDate" runat="server" /></td>
<td><asp:DropDownList ID="dlYear" runat="server" /></td>
<td><asp:DropDownList ID="dlAgeRange" runat="server" /></td>
<td><asp:DropDownList ID="dlRelationship" runat="server" /></td>
<td><asp:DropDownList ID="dlGender" runat="server" /></td>
</tr>
</table>
和链接按钮:
<asp:LinkButton ID="lnkLess" runat="server" Text="(<<)Less " OnClientClick="JavaScript: return false;" />
<asp:LinkButton ID="lnkMore" runat="server" Text="More(>>)" OnClientClick="jQuery:add()" />&
我想编写 jQuery 代码来向表中添加和删除行,我现在尝试了两天,但它仍然无法正常工作。有人可以帮忙吗?