Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

keep form values after submit javascript

When you submit a form, the entire page is replaced with the response from the server. If you want to stay on the page (rather than having it replaced by the response), you might look at using jQuery.post or jQuery.ajax to send the form data to the server rather than actually submitting the form.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #form #values #submit #javascript
ADD COMMENT
Topic
Name
6+2 =