On 14 Lut, 19:33, Jeremy J Starcher <r3...@yahoo.comwrote:
Quote:
On Thu, 14 Feb 2008 08:09:26 -0800, szimek wrote:
>
Quote:
I've already posted an email with this problem, but this time I think I
got a bit more info.
>
Afraid we'll need a bit more info. *A sample of the most minimal case
that causes the problem.
>
Quote:
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."
>
Possible (most likely?) cause -- too much recursion. *Having a function
that calls itself over and over.
>
Quote:
On FF despite [snip] the frame is not reloaded and the whole page
>
simply hangs.
>
Again, possibly recursion as well. *Don't know what size stack any of the
browsers use.
I thought that maybe there's something wrong with the form, so I used
WireShark to check if POST request is actually sent.
In FF I step through the code from the onclick event handler in the
button to the form.submit(); line. There are no errors, but there's no
POST request as well. Trying to submit the form from Firebug console
using typing form.submit(); also doesn't send any POST request.
The form is in a frame, I opened the frame directly in the browser.
Clicking submit button sends a POST request. Typing form.submit(); in
Firebug console sends a POST request.
Additionally I somehow got rid of stack overflow errors in Opera -
probably by removing all alerts and debugger keywords :)
I know it's not much info here, but if anyone has any idea what can be
wrong or how to further investigate this problem I'd be really
grateful.