Go Back   Wiki NewForum | Latest Entertainment News > Career Forum & Tips > Tech Forum & Tutorial > Java Forum & Tutorial


JavaScript HTML DOM Objects


Reply
Views: 1712  
Thread Tools Rate Thread
  #1  
Old 05-03-2009, 06:01 PM
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 80,542
Default JavaScript HTML DOM Objects

In addition to the built-in JavaScript objects, you can also access and manipulate all of the HTML DOM objects with JavaScript.


More JavaScript Objects

Follow the links to learn more about the objects and their collections, properties, methods and events.


Object Description Window The top level object in the JavaScript hierarchy. The Window object represents a browser window. A Window object is created automatically with every instance of a or tag Navigator Contains information about the client's browser Screen Contains information about the client's display screen History Contains the visited URLs in the browser window Location Contains information about the current URL
The HTML DOM

The HTML DOM is a W3C standard and it is an abbreviation for the Document Object Model for HTML.
The HTML DOM defines a standard set of objects for HTML, and a standard way to access and manipulate HTML documents.
All HTML elements, along with their containing text and attributes, can be accessed through the DOM. The contents can be modified or deleted, and new elements can be created.
The HTML DOM is platform and language independent. It can be used by any programming language like Java, JavaScript, and VBScript.
Follow the links below to learn more about how to access and manipulate each DOM object with JavaScript:
Object Description Document Represents the entire HTML document and can be used to access all elements in a page Anchor Represents an element Area Represents an element inside an image-map Base Represents a element Body Represents the element ****on Represents a <****on> element Event Represents the state of an event Form Represents a
element Frame Represents a element Frameset Represents a element Iframe Represents an