Posted on: 11/15/2013 3:24:05 AM | Views : 881

I created a button for user to add row dynamically to a html table like below:

<script src="../../Script/jquery-1.9.0.min.js" lang="jv"></script> <script type="text/javascript"> function addRow() { $('#<%=newTable.ClientID%>').after('<%=genHtml()%>'); } </script> <table runat="server" id="newTable"> </table> <asp:Button OnClientClick="addRow();return false;" runat="server" Text="add" />
But when post back, the rows in the Html table disappear, how can I fix this problem?

Go to the complete details ...