JavaScript, A Beginner's Guide, Third Edition

Front Cover
McGraw Hill Professional, Nov 19, 2009 - Computers - 608 pages
Essential Skills--Made Easy!

Create dynamic Web pages complete with special effects using today's leading Web development language. JavaScript: A Beginner's Guide, Third Edition gives you step-by-step coverage of the fundamentals, including variables, functions, operators, event handlers, objects, arrays, strings, forms, and frames. You'll also learn about more advanced techniques, including debugging and security. This hands-on guide explains how JavaScript works with XHTML Transitional and covers the new features available in JavaScript. Get started using JavaScript right away with help from this fast-paced tutorial.

Designed for Easy Learning:

  • Key Skills & Concepts--Chapter-opening lists of specific skills covered in the chapter
  • Ask the Expert--Q & A sections filled with bonus information and helpful tips
  • Try This--Hands-on exercises that show you how to apply your skills
  • Notes--Extra information related to the topic being covered
  • Tips--Helpful reminders or alternate ways of doing things
  • Self Tests--End-of-chapter reviews to test your knowledge
  • Annotated syntax--Example code with commentary that describes the programming techniques being illustrated
 

Contents

2 Placing JavaScript in an HTML File
15
3 Using Variables
33
4 Using Functions
59
5 JavaScript Operators
87
6 Conditional Statements and Loops
115
7 Event Handlers
147
8 Objects
175
9 The Document Object
205
11 JavaScript Arrays
273
12 Math Number and Date Objects
305
13 Handling Strings
341
14 JavaScript and Forms
375
15 JavaScript and Frames
407
16 An Introduction to Advanced Techniques
435
Answers to Self Tests
467
Index
479

10 Window Object
241

Common terms and phrases

About the author (2009)

John Pollock runs two Web sites devoted to Web development technology, PageResource.com and JavaScript City.

Bibliographic information