[thelist] JavaScript: the Back Button

Tab Alleman Tab.Alleman at realmetros.com
Mon May 13 11:13:01 CDT 2002

Argh surely somebody's done something like this before.  I want to make
it so that when a user clicks the Back Button on their browser, it sends
them back 2 pages rather than 1.

Why?  Because they just came from a page that had an invisible script
that redirected them here.  The invisible script sent them here via a
<body onload=document.forms[0].submit();>  Clicking back from Page 3
takes them to page 2, which then sends them back to Page 3.  I want the
back button to send them back to page 1.

So if you're thinking there's another way to skin this cat, you may be
right.. but I need for my invisible script to send variables to page 3
in the FORM object, not the querystring.  Page 2 is an ASP script, by
the way, in case that helps.



More information about the thelist mailing list