JavaScript: A Beginner's Guide, Fourth Edition (INKLING CH)Fully updated for the latest JavaScript standard and featuring a new chapter on HTML5 and jQuery JavaScript: A Beginner's Guide shows how to create dynamic Web pages complete with special effects using today's leading Web development language. With the growth of HTML 5, JavaScript is expected to grow even more to script the canvas element, add drag and drop functionality, and more. This fast-paced tutorial provides step-by-step coverage of the fundamentals, including variables, functions, operators, event handlers, objects, arrays, strings, and forms. The book then moves to more advanced techniques, including debugging, accessibility, and security. This pedagogically rich, hands-on guide explains how JavaScript works with HTML 5 and covers the new features available in JavaScript.
|
Contents
15 | |
Using Variables | 33 |
Using Functions | 59 |
JavaScript Operators | 87 |
Conditional Statements and Loops | 117 |
JavaScript Arrays | 153 |
Objects | 183 |
The Document Object | 209 |
Window Object | 275 |
Math Number and Date Objects | 305 |
Handling Strings | 343 |
JavaScript and Forms | 379 |
An Introduction to Advanced Techniques | 411 |
JavaScript Libraries HTML5 and Harmony | 445 |
Answers to Self Tests | 477 |
Index | 489 |
Other editions - View all
JavaScript: A Beginner's Guide, Second Edition: A Beginner's Guide John Pollock No preview available - 2013 |
Common terms and phrases
allows argument array item attribute block Boolean button called Chapter comparison conditional statement constructor function cookie Coordinated Universal count curly brackets Date object declare default defined display div element document object document.write drag-and-drop ECMAScript event handler event.preventDefault executed external JavaScript file Figure following code following code shows function(event global HTML5 input type="text instance integer Internet Explorer JavaScript code jQuery JSON keyword length property look loop match method returns Mozilla Firefox mycar mymoney nested num1 num2 numeric value operand parentheses paycheck pixels properties and methods prototype quotes regular expression return false return statement return true script tags script type="text/javascript semicolon sent server server-side specified node string literal String object string value syntax text box text string Try This Summary validate variable named viewer Web browser window object work_car write XHTML XMLHttpRequest