By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,450 Members | 980 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,450 IT Pros & Developers. It's quick & easy.

how to maintain browser history using javascript ajax function

nirmalsingh
100+
P: 218
we are using YAHOO Api to maintain browser hsitory using ajax submission not a
any form submission and without any url changing in location bar ,
Just passing DIV id and url and getting response in a div inner html
Jun 27 '08 #1
Share this Question
Share on Google+
3 Replies


Expert 100+
P: 1,892
Can you be a little bit more specific?
Jun 27 '08 #2

gits
Expert Mod 5K+
P: 5,390
I guess it is a question about on how to preserve the functionality of the browser back button with ajax-applications. since the content is loaded through the XMLHttpRequest the browser history is not usable anymore ... so you have to implement something that maintains the history according to your calls. have a look at this tutorial that shows a way to achieve that goal ...

kind regards
Jun 28 '08 #3

P: 1
You'll want to check out jQuery History which provides nice tracking of hash changes for your website. And jQuery Ajaxy which allows you to have a rich ajax website while still supporting the back and forward buttons and no server side changes.

jQuery History: http://www.balupton.com/projects/jquery-history
jQuery Ajaxy: http://www.balupton.com/projects/jquery-ajaxy
Aug 28 '10 #4

Post your reply

Sign in to post your reply or Sign up for a free account.