• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

AJAX, DOM, and history

 
Ranch Hand
Posts: 838
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic