[IE8] Strange loop

M

Michael Haufe (\TNO\)

Hello,
I'm debugging my Javascript code using IE8.
The code works perfectly in Chrome and Safari, but enters in a strange
loop using IE8.
The stack is this:http://www.qtweb.it/problem.jpg
Now, the line "JScript - window onload function" refers to a... CSS
line?!?
How can it be? Can you explain this?

Many thanks in advance,
Marianohttp://www.marianotomatis.com

What does Firefox give you with strict warnings turned on?
 
L

Lasse Reichstein Nielsen

Mariano Tomatis said:
Hello,
I'm debugging my Javascript code using IE8.
The code works perfectly in Chrome and Safari, but enters in a strange
loop using IE8.
The stack is this:
http://www.qtweb.it/problem.jpg
Now, the line "JScript - window onload function" refers to a... CSS
line?!?
How can it be? Can you explain this?

Not without seeing the page.
From this, all I can say is that you are doing something wrong.

It seems that the update_imglock function does something that retriggers
a load event on the window, or possibly directly runs window.onload -
which again calls update_imglock.

Seeing the code of both of those functions would be much more
enlightning than the stacktrace.

As for the incorrect idea about where the source code is, maybe it's a
bug in the SQTM 4.1 software (whatever that is). Again, hard to say
without seeing the real page source.

/L
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top