S
szimek
Hi,
I've already posted an email with this problem, but this time I think
I got a bit more info.
The app I'm currently working on works like this: when user clicks on
a clickable element, it handles its onclick event and sets values of
input fields in hidden form according to event data etc. The form is
submitted, on the server side there's some javascript generated that
is injected into a hidden frame (the same where the hidden form is)
and reloaded. Thus the generated javascript is executed and some
action is performed.
It works fine on IE.
On Opera it seems to work (something happens after clicking the
buttons). However, there's another problem - when the whole page is
loaded (not after clicking the button), I get the following error
"Event thread: load. ECMAScript interpreter stack overflow." twice. I
guess it's bad, but I have no idea how to fix it and I'm not sure if
it's related to the problem that happens on FF.
On FF despite the fact that it executes "form.submit()" (I'm using
Firebug 1.1b10 to step through the code) nothing is actually sent to
the server (I checked it using LiveHTTPHeaders plugin). The js is not
generated, the frame is not reloaded and the whole page simply hangs.
I've debugged js code in IE and FF step by step and they seem to work
exactly the same. The form seems to be exactly the same. I have really
no idea what can be wrong. Any ideas?
Thanks in advance for any suggestions!
I've already posted an email with this problem, but this time I think
I got a bit more info.
The app I'm currently working on works like this: when user clicks on
a clickable element, it handles its onclick event and sets values of
input fields in hidden form according to event data etc. The form is
submitted, on the server side there's some javascript generated that
is injected into a hidden frame (the same where the hidden form is)
and reloaded. Thus the generated javascript is executed and some
action is performed.
It works fine on IE.
On Opera it seems to work (something happens after clicking the
buttons). However, there's another problem - when the whole page is
loaded (not after clicking the button), I get the following error
"Event thread: load. ECMAScript interpreter stack overflow." twice. I
guess it's bad, but I have no idea how to fix it and I'm not sure if
it's related to the problem that happens on FF.
On FF despite the fact that it executes "form.submit()" (I'm using
Firebug 1.1b10 to step through the code) nothing is actually sent to
the server (I checked it using LiveHTTPHeaders plugin). The js is not
generated, the frame is not reloaded and the whole page simply hangs.
I've debugged js code in IE and FF step by step and they seem to work
exactly the same. The form seems to be exactly the same. I have really
no idea what can be wrong. Any ideas?
Thanks in advance for any suggestions!