troubleshooting Question

instead of history.go

Avatar of ecpeel
ecpeel asked on
JavaScriptColdFusion Language
10 Comments1 Solution325 ViewsLast Modified:
Hi [having a brain freeze],

On the page that sends to the item details page (display search results) are the search results.
On this page I trigger a Survey and set a cookie to say the Survey has been taken (onclick select for details).
On an item details page we're using a history.go(-1) as a "back" button.

Problem: if you use the back button the page doesn't refresh to run the logic to enable or disable the code to trigger the survey. Of course a fresh search triggers the code.

any ideas about how to get that page to reload and run this code?

Thanks in advance
ASKER CERTIFIED SOLUTION
gdemaria

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros