How to rollback actions through javaScript?
<p>I am having a JSP page where the user will be displayed with a table consisting rows.
If the user wishes, he may add a new row and press the save button, which will insert the data into the table, which is done through JavaScript.</p>

<p>My request is that, user adds a new row and enters the details in that. If he clicks the reset button, it clears the data entered inside the new row but not removes the entire giving the original data which was displayed when user started.</p>

<p>Please help me.</p>
