Dom defines a set of standard objects unrelated to browsers and programming languages to operate HTML and XML documents.
DOM: Level 3: 1. Supported by netscape2, 2. Supported by netscape4... 4.5, 3. Supported by w3cdom, and supported by Internet Explorer
Dom documentation results
<HTML>->
Document Object Access Method: Document: access HTML object (node), that is, object attributes, Method
Sub-objects of window: nvaigator, farmes, history, location, document, open, event, status, screen ........
Document model: Anchors [], applets [], Forms [], embeds [], Links [], images [], selections []
<Fieldset> used to group various elements displayed on the screen
#######################################
######## Obtain operations on elements in a form
Document. Form. element name. element attribute. For example, if pome is the name of textarea document. Form [0]. pone. value, the value in textarea is obtained.
##################
1. hidden object
Two attributes: Name and Value
Stores a global variable in JavaScript.
Note: hidden has no methods and events
2. Buttons
Three: Submit submission, button normal, reset Reset
Here, the submit and reset buttons can be displayed in the form.