11.12.2012 Views

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 7: Array, Date, Math, and Type-Related<br />

Objects<br />

Figure 7-1: Common Date functions in action<br />

Figure 7-2: Conversion of a Date object to a string<br />

Chapter 8: Regular Expressions<br />

Figure 8-1: Regular expressions simplify pattern matching.<br />

Figure 8-2: <strong>The</strong> global flag starts searching where the previous match left off.<br />

Figure 8-3: Parsing out words in a string using exec() on a regexp with the global flag set<br />

Figure 8-4: Results of regular expression matching without the global flag<br />

Chapter 9: <strong>JavaScript</strong> Object Models<br />

Figure 9-1: <strong>JavaScript</strong>: <strong>The</strong> ―big picture‖<br />

Figure 9-2: <strong>The</strong> initial <strong>JavaScript</strong> object model<br />

Figure 9-3: Simple Document properties<br />

Figure 9-4: Some Document properties require no HTML elements.<br />

Figure 9-5: Netscape 3 object model<br />

Figure 9-6: Netscape 4 object model<br />

Figure 9-7: Internet Explorer 3 object model basically mimics Netscape 2.<br />

Figure 9-8: Internet Explorer 4 object model<br />

Figure 9-9: IE‘s document.all collection exposes all document elements.<br />

Chapter 10: <strong>The</strong> Standard Document Object Model<br />

Figure 10-1: Reported DOM support under IE, Mozilla, and Opera<br />

Figure 10-2: Simple tree walk output<br />

Figure 10-3: DOM tree walk tool<br />

Figure 10-4: Simple DOM-based HTML editor<br />

Figure 10-5: Rendering of CSS Inline Tester under Mozilla<br />

Figure 10-6: Using document.all[] across browsers<br />

Chapter 11: Event Handling

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!