history.back() not getting filtered result on back page in IE

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pankaj0216
    New Member
    • Mar 2012
    • 1

    #1

    history.back() not getting filtered result on back page in IE

    when i am using history.back(); (on second page)
    it is going back page(first page) but not getting filtered result which was filtered by ajax using different select tags before leaving that page(first page) in IE but it is working in firefox.
    please help me for getting correct result on IE.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    You will need to code a solution which retains Ajax history. You could use the hash fragment as one way.

    A quick search for "ajax history" should give you a workable solution to support history/the back button when using Ajax.

    Comment

    • Fary4u
      Contributor
      • Jul 2007
      • 273

      #3
      history.back() method has no parameter. It just go to the previous page which is equivalent to history.go(-1)

      even if you specify history.back(2) , it will still go 1 page back.
      so the only solution is to use history.go(-2)

      Comment

      Working...