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

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

P: 1
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.
Mar 21 '12 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 15k+
P: 16,027
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.
Mar 21 '12 #2

P: 273
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)
Mar 21 '12 #3

Post your reply

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