A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Disabling Browser's 'BACK' button
Joined: Jan 26, 2005
Dec 08, 2005 23:52:00
How can i disable the browser's 'BACK' button using script ?
Joined: Oct 03, 2005
Dec 09, 2005 04:29:00
Onload of that page,
document.location.replace("URL here"); --> deletes the history and locates to URL.
Use this code.
But i would personally say that, disabling the back button in a browser is not a good design.
Don't get me started about those stupid
subject: Disabling Browser's 'BACK' button
Ok. But where is the Cancel?
browswer's back button
how t o disable back button after logging off
Browser Back buton
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014