In my main page I have a simple form. I have made it so I when the user clicks the "submit" button I send the form data to the server side and also just after submit I remove the form using Jquery. However, I would like to have a way so that when I click a button after geting the form removed it would appear again exactly as it was before geting removed.
When I click the form submit button I don't want the form to be invisible; I want the form to be removed from the page. Do I have to make a new form everytime I remove it to be exactly as the removed one or is there a way to get it back when clicking the "recovering" button?
Just in case, I am using JADE for rendering some other stuff... I am not sure if it is needed for this. Sorry for any mistakes, I am quite newbie in programming. I can give more information if needed.