Home > Web Front-end > JS Tutorial > body text

Let's talk about the document.all attribute under IE and Firefox_javascript skills

WBOY
Release: 2016-05-16 18:44:01
Original
1104 people have browsed it

For example, the following code:

Copy code The code is as follows:







In the IE browser, "this is a IE" will be output;
In the firefox browser, "this is a Mozilla" will be output.

But this does not mean that the document.all attribute method is not supported in firefox.

The following piece of code runs normally under IE and Firefox browsers
Copy the code The code is as follows:




Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!