Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disabling Browser's 'BACK' button

 
Vivek Puthiyonnan
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i disable the browser's 'BACK' button using script ?
 
Sri Ram
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Onload of that page,

Use this code.
But i would personally say that, disabling the back button in a browser is not a good design.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic