1. What is Dom?
What is Dom? Dom is a Document Object Model (Document Object Model), a set of API Interfaces Based on browser programming (in this tutorial, it can be said that it is DHTML programming). W3C introduces the Recommendation Standard, each browser has some subtle differences, with Mozilla's browser closest to the standard. Javascript alone must be combined with Dom to do DHTML programming, in order to make beautiful results and apply them to the Web. This is almost the same as other languages, just as C/C ++ requires database support. Otherwise, we simply studied the syntax. Therefore, you must have a certain understanding of Dom to apply JavaScript to the Web or your RIA application, because DHTML is essentially an operation on the DOM tree.
In future programming, we hope you can also include the DHTML. chm manual. If you need to be compatible with Gecko, you can also include the gecko Dom manual. Because there are too many APIs, you can check this manual for interfaces you cannot think.
If you want to test whether the browser supports Dom, you can simply judge
[Ctrl + A select all Note: If you need to introduce external JS, You need to refresh it to execute]