Dave Christian wrote:
What event gets fire off?
Do not assume that whoever is reading your post can simultaneously see
(or remember) the subject.
I thought it might be an onLoad event, but that doesn't seem to be the
case.
(I have some variables displayed on my page that, upon a Backspace (or
even hitting the Back button, I suppose) doesn't reset to zero.)
I guess you mean is an onload event triggered in a page visited using
'backspace'. That may depend on the browser and possibly its configuration.
Firefox 1.0.6 and IE 6 seems to run onload whenever the page is visited
regardless how it is arrived at - by link, back button, alt+left arrow,
backspace, etc.
But I seem to remember that wasn't always the case in all versions.
window.onload is part of DOM 0, so there is no public specification of
how it should work.
Mozilla documentation states:
"The load event is fired at the end of the document loading process.
At this point, all of the objects in the document are in the DOM."
<URL:http://www.mozilla.org/docs/dom/domref/dom_window_ref63.html#1018577>
Microsoft says::
"To invoke: Load the persistent Web page from a favorite or shortcut
or through an Internet address."
<URL:http://msdn.microsoft.com/workshop/author/behaviors/reference/events/onload_1.asp>
--
Rob