File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Back button issues with AJAX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Back button issues with AJAX" Watch "Back button issues with AJAX" New topic

Back button issues with AJAX

Shawn Kuenzler
Ranch Hand

Joined: Apr 16, 2006
Posts: 73
What's the best way to deal with the loss of browser Back button functionality that is sometimes lost with AJAX?

I like how sites like Google offer the ability to "link to this page" since the URL does not change with smaller updates to the page. But I still sometimes have issues where the back button does not return me to the previous state.

SCJP 1.5
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Look into Really Simple History

Jord Sonneveld
Ranch Hand

Joined: Apr 09, 2007
Posts: 31
Originally posted by Eric Pascarello:
Look into Really Simple History


Our upcoming book has examples using the Really Simple History framework. RSH uses the '#' fragment ID to store history.

So yes, RSH is a good library to use for this.
I agree. Here's the link:
subject: Back button issues with AJAX
It's not a secret anymore!