Lect18DOM - Announcements Check class announcements daily...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Announcements Check class announcements daily You must implement programming projects by yourself 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 The onchange event We can read the value in a text field by recognizing the onchange event Example: ValueInTextField.html
Background image of page 2
3 DOM (Document Object Model) DOM representation of the elements of a web page (e.g., headings, lists, paragraphs, styles, etc.) used by a JavaScript program to manipulate web page elements DOM Allows JavaScript programs to dynamically access and update the content, structure, and style of documents From a JavaScript program you can control the image displayed in your page every hour From a JavaScript program you can let users decide what background color to use You could add/remove new items from a list Others
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
DOM (Document Object Model) DOM represents elements of a web page as a tree structure consisting of nodes Each pair of tags (.e.g, <p>,</p> ) is represented by a node Three types of nodes text nodes
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/04/2010 for the course CMSC cmsc122 taught by Professor Perez during the Fall '10 term at University of Maryland Baltimore.

Page1 / 8

Lect18DOM - Announcements Check class announcements daily...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online