Example of DOM hierarchy in an HTML document
Dynamic web page: example of server-side scripting (PHP and MySQL).
Sample form. The form is enclosed in an HTML table for visual layout.
WHATWG DOM
When a request to a dynamic web page or resource is made, the application server processes the request using its server-side language.
Registration form of PHP-based e-commerce web-shop software ZenCart

JavaScript can interact with the page via Document Object Model, or DOM, to query page state and modify it.

- Dynamic web page

Form, link and image elements could be referenced with a hierarchical name that began with the root document object.

- Document Object Model

Using server-side scripting to change the supplied page source between pages, adjusting the sequence or reload of the web pages or web content supplied to the browser. Server responses may be determined by such conditions as data in a posted HTML form, parameters in the URL, the type of browser being used, the passage of time, or a database or server state.

- Dynamic web page

This allows the creation of dynamic web pages, because within a page JavaScript can:

- Document Object Model

The de facto client-side scripting language for web sites is JavaScript.

- Form (HTML)

Using JavaScript on the Document Object Model (DOM) leads to the method of Dynamic HTML that allows dynamic creation and modification of a web page within the browser.

- Form (HTML)
Example of DOM hierarchy in an HTML document

1 related topic with Alpha

Overall

JavaScript

0 links

Programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS.

Programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS.

It has application programming interfaces (APIs) for working with text, dates, regular expressions, standard data structures, and the Document Object Model (DOM).

This meant that JScript became the de facto standard for client-side scripting on the Web.

Validating input values of a web form before the data is sent to a web server.