0

ここにテーブルがあります:

            <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コードを書きたいのですが、現在2日間試していますが、まだ機能していません。誰でも助けることができますか?

4

2 に答える 2

0

DataTable を使用する必要があると思います。(Jquery データテーブル) Jquery データテーブル

于 2013-10-13T07:31:50.353 に答える