JavaScript 24-Hour Trainer

Overview

A total learning experience shows how JavaScript works in the real world

A new generation of web browsers has emerged that are specifically optimized for the capabilities of JavaScript. This unique book-and-DVD package shows you how to use JavaScript to make web pages more dynamic and interactive so that you can create a first-rate user experience. Packed with expertly written lessons, this must-have book-and-DVD set provides instructional demonstrations on the DVD that enhance ...

See more details below
Paperback
$29.06
BN.com price
(Save 27%)$39.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (15) from $21.21   
  • New (9) from $21.21   
  • Used (6) from $21.57   
Sending request ...

Overview

A total learning experience shows how JavaScript works in the real world

A new generation of web browsers has emerged that are specifically optimized for the capabilities of JavaScript. This unique book-and-DVD package shows you how to use JavaScript to make web pages more dynamic and interactive so that you can create a first-rate user experience. Packed with expertly written lessons, this must-have book-and-DVD set provides instructional demonstrations on the DVD that enhance your Java Script learningexperience through tutorial demos and helpful examples. Assuming little or no previous programming experience, the self-paced lessons guide you through the fundamentals of programming with the JavaScript language and gradually build upon the basics.

JavaScript 24-Hour Trainer:

  • Reviews JavaScript variables, types of data, functions, and control structures
  • Addresses how to avoid common mistakes, debug code, and use best programming practices
  • Explains how to manipulate HTML with JavaScript
  • Walks you through modifying element style
  • Details how to handle events with a cross-browser event utility object
  • Highlights conventions and best practices aimed at helping you write more efficient code
  • Explains how to send and receive data with Ajax and JSON

Wrox guides are crafted to make learning programming languages and technologies easier than you think. Written by programmers for programmers, they provide a structured, tutorial format that will guide you through all the techniques involved.

On the DVD

Don't just learn?do!

The lessons within the book are each accompanied by an instructional demonstration on the DVD?over 4 hours of video tutorials!

You'll learn to:

  • Add JavaScript to a web page
  • Create JavaScript animations
  • Execute code based on conditions
  • Repeat code with loops
  • Use object oriented programming with JavaScript
  • Access and alter styles
  • Dynamically create new HTML elements
  • Navigate the document object model
  • Enable drag and drop in the browser
  • Handle errors and debug with Firebug

Note: As part of the print version of this title, video lessons are included on DVD. For e-book versions, video lessons can be accessed at wrox.com using a link provided in the interior of the e-book.

Read More Show Less

Product Details

  • ISBN-13: 9780470647837
  • Publisher: Wiley
  • Publication date: 12/7/2010
  • Edition number: 1
  • Pages: 456
  • Sales rank: 431,938
  • Product dimensions: 7.30 (w) x 9.20 (h) x 1.10 (d)

Meet the Author

Jeremy McPeak is a professional programmer and analyst?who works extensively with JavaScript and C#. He contributed to Professional Ajax and Beginning JavaScript.

Read More Show Less

Table of Contents

Preface.

Part I: Introduction to JavaScript.

Lesson 1: Adding JavaScript to a Web Page.

Lesson 2: Variables and JavaScript Syntax.

Lesson 3: Functions.

Lesson 4: Making Decisions.

Lesson 5: Loops.

Lesson 6: Scope.

Lesson 7: Objects and Built-In Types.

Lesson 8: Custom Objects.

Lesson 9: Prototypes and Inheritance (The Function Object).

Part II: Programming the Browser.

Lesson 10: The window Object.

Lesson 11: Scripting Windows.

Lesson 12: Scripting Frames.

Lesson 13: The Document Object Model.

Lesson 14: Adding HTML With JavaScript.

Lesson 15: Modifying Element Style.

Lesson 16: Introduction to Events.

Lesson 17: Assigning Event Handlers with HTML Attributes.

Lesson 18: Using Early DOM Event Handlers.

Lesson 19: Using Standard DOM and IE Event Handlers.

Lesson 20: Writing Cross-Browser Event Handlers.

Lesson 21: The Standard Event Object.

Lesson 22: Internet Explorer's Event Object.

Lesson 23: Writing Cross-Browser Event Code.

Lesson 24: Dragging and Dropping.

Lesson 25: Timers and Animating Elements.

Lesson 26: Forms — A Primer.

Lesson 27: Scripting Buttons.

Lesson 28: Scripting Text Elements.

Lesson 29: Scripting Selection Boxes.

Lesson 30: Scripting Checkboxes and Radio Buttons.

Lesson 31: An Introduction to Ajax.

Lesson 32: Using XMLHttpRequest Objects.

Lesson 33: Making Ajax Requests Using GET.

Lesson 34: Making Ajax Requests Using POST.

Lesson 35: JSON.

Part III: Handling Errors, Debugging, and Best Practices.

Lesson 36: Common Coding Mistakes.

Lesson 37: Handling Errors.

Lesson 38: Debugging With Firebug.

Lesson 39: Coding Guidelines.

Lesson 40: Separating JavaScript and HTML.

Lesson 41: Separating JavaScript and CSS.

Lesson 42: Avoiding Global Scope.

Lesson 43: Optimizing Your Code.

Appendix: What's on the DVD?

Index.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)