Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
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.
It is sorta covered in the
JavaRanch Style Guide
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-2013