Small details of IE, Firefox, and Chrome Web development: Attention of programmers

Source: Internet
Author: User

With the popularization of broadband networks and the continuous development of Web applications, browsers are becoming more and more important. Internet Explorer, Firefox with powerful plug-ins, and chrome with the latest release all have many incompatibility issues.

Recently, a small detail problem was suddenly found in a web project:

A button on the JSP page requires you to click it to jump to another interface. I use HTML tags (of course, JavaScript can also be used)

Code:

Jump

It is found that in IE6 and IE7, clicking this button does not reflect, but it can jump normally in Firefox and chrome.

Then I tested another tag.

Code:


The result is the same as the preceding one.

Attention should be paid to Web applications in the future. You can add the onclick event to the two buttons.

Another finding is that Google Chrome does not support JavaScript very well and cannot run properly. It does not support drag-layer pages that combine JavaScript and CSS, you should be cautious when using it in the future.

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.