Link to home
Start Free TrialLog in
Avatar of NickMalloy
NickMalloyFlag for United States of America

asked on

Data Lost with back button used

I have a page that calls several ajax queries. These queries populate about 30 div's. Included in these divs are links which take people to detail pages. My initial page loads with none of the data in the divs when a user goes to a detail page and then hits the browser back button. How can I resolve this?
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

You have to reload the AJAX queries.  The Back button and usually Refresh just load the original page.
Avatar of NickMalloy

ASKER

is there a way to tell if the page is a reload or coming from the back button?
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial