0

Possible Duplicate:
Can I get the history.back() function to work in Chrome when using the file:// protocol?

I have used the history.back() function in JavaScript to go to the previous page.
It seems to work fine in all browsers except chrome.
Any solution for this?

Community
  • 1
  • 1
Rahul
  • 76
  • 1
  • 2
  • 9

1 Answers1

0

instead of

history.back()

you could try

history.go(-1);
Sudhir Bastakoti
  • 99,167
  • 15
  • 158
  • 162