Internet Explorer cannot open the Internet site. The operation has been aborted.

Source: Internet
Author: User
Javascript causes classic exceptions of IE Code Http://www.yi521.com 18:29:29 not available

These are two classic exceptions, which are difficult to locate if you do not know the principles. The following code shows the conditions that occur.

<IFRAME src = "javascript: '<SCRIPT> top. ff1 = {ABC: function () {}}</SCRIPT> '"width = 0 Height = 0 name =" f1 "> </iframe>
<Button> the released Code cannot be executed. </button>
<IFRAME src = "javascript: '<SCRIPT> top. ff2 = {ABC: function () {}}</SCRIPT> '"width = 0 Height = 0 name =" F2 "> </iframe>
<Button> accidentally called method or attribute access </button>

The innerhtml of the p tag cannot insert the center Tag:

<P> <button> unknown runtime error </button> </P>

The following is a classic "unable to open the Internet site" exception:

<Div id = "TT"> <div> <SCRIPT> document. getelementbyid ("TT"). innerhtml = "" </SCRIPT> </div>

From these examples, we can see that there is still much room for improvement in IE robustness.

 

------------------------------------------------------------------------------ I still don't understand why. I read this article. Article But I have a problem with the 2-layer DIV in the script coat. After removing the DIV layer, the box that cannot open the Internet site and stops the operation is no longer displayed. In IE 7, there is no such problem in Firefox.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.