• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Back button issue

 
venkatesh pendharkar
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am developing currently an online shopping website. On this website, on some of the pages I want to disable the browser back button . If not disable, then at least I want show an alert on back button. I made a lot of search on google, but everywhere I found that it is not possible to disable back button or know the back button alert. Can anyone help me out with any suggetions?
Also I tried to clear the history for the pages for which I want to disable the back button. But my code works in IE & not in other browsers. So it will be great if someone can give me a code that will not save the current page in the history for all the browsers?
Thanks in advance.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic