Home  >  Article  >  Web Front-end  >  js compatible with IE and Firefox Copy code_javascript skills

js compatible with IE and Firefox Copy code_javascript skills

WBOY
WBOYOriginal
2016-05-16 18:40:481006browse
[Click to copy 2
[Click to copy 3

[Ctrl A Select all Note: If you need to introduce external Js, you need to refresh to execute
]

The following content is mainly for application If you use textarea as the content carrier, if it is a div, etc., you need to use innerText for direct web page markup. However, Firefox browser does not support innerText, so you have to consider how to make firefox support innerText. In this way, it can be perfectly realized. Specifically The code can refer to the function code of Script House. In the next article, we will introduce the implementation code of how to make firefox support innerText.
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:jQuery chili image distant zoom plug-in_jqueryNext article:jQuery chili image distant zoom plug-in_jquery

Related articles

See more