Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Back button disable not working  RSS feed

 
sridhar lakka
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Thanks in advance.
I want to disable the back button in my browsers we are using IE only.
I have written following code onload of page, window.history.forward(1);.
And for some pages ,the pages which are just display and the page which doesnt have any function to be called onload of that page is working fine.
But i have some pages where user can enter some values and on that page load iam calling some functions.
In that case this is not working.

Regards,
Sree
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read this.

What are you trying to accomplish by disabling back? It really is a rather unfriendly thing to do.
[ May 07, 2007: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!