Answers
Nov 28, 2006 - 09:51 PM
The method history.back() simply simulates a click on the browser's back button, therefore the result should be exactly the same and the origin of the command unrecognizable. To me it also makes sense that when the user goes back he doesn't expect something new to happen, that didn't happen last time he visited that page.
However, to send the user back to the previous page I have successfully used something like this:
location.replace(document.referrer);
With this command you will be able to append a querystring that you can analyse on the previous page to get information about the call.
Nov 28, 2006 - 10:02 PM
Thanks for ur response.
I dont want to send the user back to previous page.....what i want is
I doing some operations in my application.... that time i am clicking IE
back button and i am comming to the previously visited page Is there
any way now i can no that i have used the browser back button......
Jan 06, 2007 - 06:12 AM
Jun 04, 2007 - 08:48 PM
Thanks
Jun 06, 2007 - 04:16 AM
You can distribute the points and close the question yourself, if you're logged in and looking a question that you asked.
Quomon Admin
Add New Comment