Wednesday, September 23, 2009

Internet Explorer Cannot Open the Internet Site- "some url" Operation Aborted” Error

Internet Explorer Cannot Open the Internet Site "http:somesite"- Operation Aborted

There are many reasons to get this error. I am getting this error when I am trying to show "Ajax Model popup for confirmation" when user check a "Checkbox". I tried different solutions available on internet but none of them worked. So at last I get rid of the "Ajax modal popup" and replaced with "javascript confirm popup".

Imortant thing is, you have to add following attribut to the javascript "defer = "defer"". This attribute deferes execution of the script until page completely loads so no more errors......
Mainaly, you see this error when you have some javascript that is not well formed or page is heavy and trying to execute the script before all page elements are rendered.

so add "defer" attribute and stop banging head...
script type="text/javascript" defer="defer"

Another reason could be because of "Add-on" to IE. So try to remove them[hope you know how to restore them back] and see if it works....

No comments:

Post a Comment