Cross-browser incompatibility of JavaScripts

Source: Internet
Author: User

Many browsers implement a public subset of JavaScript, making most of the Code compatible with different browsers. The incompatibility problem is not the language itself, instead, the underlying Document Object Model (DOM) opened by the browser is different. For example, an object in JavaScript can be Date or String. Whether implemented in safari or navigator, it can be Date or String. In the implementation of JavaScript by different browsers, opening and operating these DOM objects leads to incompatibility between browsers.

In addition, we know that JavaScript can modify the attributes of elements, which can be defined by css style attributes. However, the implementation of css in browsers may be different, leading to cross-browser incompatibility issues.

-- Extracted from the core JavaScript technology (Sbelley Powers, o'reilly)

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.