Document Object Model (DOM)

The Document Object Model is a platform- and language-neutral interface that will allow programs and scripts to dynamically access and update the content, structure and style of documents.
window document
event

frame document anchor applet class element embeb ID

history

location

navigator

screen

form button check box hidden password radio reset select submit text textarea

image layer link plug-in style tag

csehui.wordpress.com

Computer Science & Engineering

CREATING OBJECTS
Define the function: function ObjectName(List Parameter) { this.property1= Parameter1; this.property2= Parameter2; … this.method1=functionName1; this.method2=functionName2; … }
csehui.wordpress.com

LOGO

Computer Science & Engineering

CREATING OBJECTS
To call object we use the keyword new. Exemple: function myobject() { this.containedValue = 0; this.othercontainedValue = 0; this.anothercontainedValue = 0;