Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AJAX, DOM, and history

 
Rob Hunter
Ranch Hand
Posts: 832
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a series of AJAX calls on my page that populate some dropdowns. If the user selects some of the values in these dropdowns and proceeds to next page via submitting the form everything passes fine. I want to be able to allow the user to go back (using back button) and still see the values he/she selected and have the values still display in the dropdowns as before. How can I accomplish this? The AJAX calls populate dropdowns and the user chooses from these fields it looks like returning to the page using a back button erases or doesn't seem to recall data generated this way. Is there a way to return to a page with AJAX calls that populated dropdowns and still have the items that were chosen still show up? Thanks in advance for any info.

Rob
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cookies my friend, cookies. They are good with a glass of milk and they are good with remembering states of things as long as the user has them enabled.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic