View Full Version : Javascript execution

03-18-2005, 10:49 AM
Hi all,

I have a dynamic menu on my website which calls an external javascript.
The problem is when I click on any of the links in the menu, and the mouse is at the same place where the menu item is the page doesnt load and an OPERTATION ABORTED error is thrown. But if I refresh, the page loads. And there is no sequence for this error it occurs on any page any time.

The logic behind this error could be,
the browser is loading the page and executing the script at the same time and somehow is not able to execute these two at the same time and throws the error.

This is what I think.

Anyone who had faced this sort of problem or knows anything about this, do let me know.


03-18-2005, 11:26 AM
By default (with some exceptions: onmouseover ,onmouseout and onerror) the javascript action is executed first and the HTML action later. On the other hand, if no return false, the HTML action is executed anyway, no matter if the javascript code is or not fully executed, so that it is weird what you say... can we see the code?

03-21-2005, 06:19 AM
Yes sure,

you can visit this site, http://www.beesys.com
when you click any of the links on top keep your mouse at the same place, while the clicked page is loading.