I have a button on a page that says "Add Locations". You click it, and form elements appear from an AJAX request. When you submit the page, and go back, those form elements no longer exist on the page.
Is it possible to keep the 'state' of the page when the user goes back?
Not unless you save it in a cookie or the local-storage
for HTML5.
HTML - Javascript - web development are stateless.