I
i4587415
Hi all,
Question:
Where can I find a documentation or specification about the HTML/DOM/
Javascript page life cycle to prove that:
when a page is redirected to another page using document.location =
nextUrl; all the function execution should be stopped in the original
page? Otherwise, it should be a bug in the browser.
Background:
Browser is Internet Explorer 6, in Windows XP SP2.
At first page, I have a timer count down using setItnterval from 30
seconds. But when the page is redirected to next page, these functions
as I understood should be stopped. But it looks like the setInterval()
is still running. When the count down is 0 (I used a stop watch to
continue keep track of the time) at second page, there is script error
occurs,
"Wrong number of arguments or invalid property assignment"
Illustration:
[Page1] setInterval() to count down time from 30 seconds
==>
[Page1] before reaching 0 seconds, call document.location = Page2;
==>
[Page2] now at Page2
==>
[Page2] time reached zero second as monitored from stop watch
==>
[Page2] script error occured, "Wrong number of arguments or invalid
property assignment"
Thank you.
Best regards,
John.
Question:
Where can I find a documentation or specification about the HTML/DOM/
Javascript page life cycle to prove that:
when a page is redirected to another page using document.location =
nextUrl; all the function execution should be stopped in the original
page? Otherwise, it should be a bug in the browser.
Background:
Browser is Internet Explorer 6, in Windows XP SP2.
At first page, I have a timer count down using setItnterval from 30
seconds. But when the page is redirected to next page, these functions
as I understood should be stopped. But it looks like the setInterval()
is still running. When the count down is 0 (I used a stop watch to
continue keep track of the time) at second page, there is script error
occurs,
"Wrong number of arguments or invalid property assignment"
Illustration:
[Page1] setInterval() to count down time from 30 seconds
==>
[Page1] before reaching 0 seconds, call document.location = Page2;
==>
[Page2] now at Page2
==>
[Page2] time reached zero second as monitored from stop watch
==>
[Page2] script error occured, "Wrong number of arguments or invalid
property assignment"
Thank you.
Best regards,
John.