Access page elements using specifications

xiaoxiao2021-04-04  248

The most common compatibility issues encountered by Firefox and other Gecko engine browsers are the difference between IE DHTML and W3C DOM.

One of the most important mistakes in the irregular DHTML script is to use irregular way to access web page elements. We used Spider to climb some domestic famous portals. From the quantity, more than 95% JavaScript errors come from this.

There are several ways to access web pages elements:

1. Access the web page directly with the ID or Name property name, for example:

...