A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
I agree. Here's the link:
subject: Disabling Browser's 'BACK' button
how t o disable back button after logging off
Ok. But where is the Cancel?
browswer's back button
Browser Back buton
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014