Strict IE and Firefox tolerance

Source: Internet
Author: User
Today, I encountered a very strange browser compatibility problem. I used js to generate a pop-up window. The shell of the pop-up layer is fixed HTML. Code The content is called asynchronously by the backend Using ajax. The content is basically such an HTML section. I will extract an incorrect section. < A Href = "Javascript: void (0 );" Onckick = "Pop ('sp3b ')" > General lobby < A > < BR />
< A Href = "Javascript: void (0 );" Onckick = "Pop ('sp3b ')" > Special lobby < A > < BR />

the code is simple enough. If you look at it carefully, you will find that my HTML is a little problematic-the mark is not closed. It is also strange to me that I did not find this small error after looking for a long time. It took me a whole morning to find this error. When I found it, I really wanted to yell. In Firefox, this code is okay and can be displayed normally, but it won't work in IE. It has already encountered many such errors, write it down to prevent another colleague from making a mistake

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.