麥克斯做個不宅的工程師

Maxi’s idiotic programming.

Abort Operation in IE under ASP.NET+JavaScript

My colleague develop a page using ASP.NET and some javascript. Specifically say, that is a google map API page.

It runs okay under his local development environment but throw a Abort Operation error from IE when I test his page in a real situation remote environment.

The cause is he add some controls dynamically in code-behind and then use GetElementByID() in his javascript. and he invokes his javascript too early.

If you encounter this problem, you can try to postpone your GetElementByID().

November 1, 2008 , Saturday - Posted by maxi326 | Web | , , | No Comments Yet

No comments yet.

Leave a comment

You must be logged in to post a comment.