how to maintain browser history using javascript ajax function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nirmalsingh
    New Member
    • Sep 2006
    • 218

    how to maintain browser history using javascript ajax function

    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
  • AricC
    Recognized Expert Top Contributor
    • Oct 2006
    • 1885

    #2
    Can you be a little bit more specific?

    Comment

    • gits
      Recognized Expert Moderator Expert
      • May 2007
      • 5388

      #3
      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

      Comment

      • Benjamin Lupton
        New Member
        • Aug 2010
        • 1

        #4
        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

        Comment

        Working...