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

js compatible with IE and Firefox Copy code_javascript skills

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-16 18:40:48
Original
1059 people have browsed it
[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.
Related labels:
js
source:php.cn
Statement of this Website
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
Latest Issues
Where is js written?
From 1970-01-01 08:00:00
0
0
0
js addClass not working
From 1970-01-01 08:00:00
0
0
0
js file code not found
From 1970-01-01 08:00:00
0
0
0
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template