How to do Everything with JavaScript

Overview

Bring interactivity to any Web site with this easy-to-follow guidebook on JavaScript. Author Scott Duffy takes the fear out of working with a programming language by delivering instruction and theory in manageable doses, along with practical examples and plenty of ready-to-use code. Learn to write a program by exploring statements, variables, and functions—the three basic building blocks of any program. Use JavaScript as the behind-the-scenes director of your Web browser presentation. Create basic and advanced ...

See more details below
Other sellers (Paperback)
  • All (19) from $1.99   
  • New (5) from $18.13   
  • Used (14) from $1.99   
Sending request ...

Overview

Bring interactivity to any Web site with this easy-to-follow guidebook on JavaScript. Author Scott Duffy takes the fear out of working with a programming language by delivering instruction and theory in manageable doses, along with practical examples and plenty of ready-to-use code. Learn to write a program by exploring statements, variables, and functions—the three basic building blocks of any program. Use JavaScript as the behind-the-scenes director of your Web browser presentation. Create basic and advanced JavaScript applications—plus, modify existing scripts to suit your needs—all with the help of this great resource.

  • Write your own program using statements, variables, and functions
  • Learn the history of the language and what it can do for you
  • Enable movement and interactivity for your Web site
  • Determine which version of JavaScript is right for you
  • Store dates, numbers, and more with built-in classes
  • Create scripts that work in every browser
  • Understand the basics of expressions, and organize your code into functions
  • Cause text or graphics to change on mouse rollovers
  • Automatically change a formatted date on a Web page
  • Coordinate objects and events seamlessly with built-in or scripted classes
Read More Show Less

Editorial Reviews

Library Journal
JavaScript's popularity shows no signs of waning, so libraries could benefit from up-to-date titles. A clear and cohesive guide recommended for beginners and all libraries, Visual QuickStart updates older editions with coverage of v.1.5, showing how to complete common tasks step by step, with typical and plentiful tips, screen shots, and tables. A companion web site (www.javascriptworld.com) at the time of this review included only scripts from the fourth edition but should soon be updated to include current cut-and-paste scripts and files. Appendixes address JavaScript "genealogy and reference," reserved words, CSS, and additional resources. Everything, also appropriate for beginners and all libraries, covers similar ground but with more background and fewer figures. Notes, cautions, sidebars, tables, and figures break up the text; appendixes provide quick references for HTML tags and JavaScript statements, classes, and objects. For intermediate to advanced users, Cookbook jumps right into coding examples. Each "recipe" contains a problem, solution, discussion, and useful See Also references; the book's coverage of common "how-to" questions ranges from concatenating strings to embedding XML data in web pages. Cookbook's discussion of both JavaScript and DHTML and clear explanations of common coding issues make it a fantastic reference for larger libraries. Copyright 2003 Reed Business Information.
Read More Show Less

Product Details

  • ISBN-13: 9780072228878
  • Publisher: McGraw-Hill Professional Publishing
  • Publication date: 2/26/2003
  • Series: How to Do Everything Series
  • Edition number: 1
  • Pages: 448
  • Sales rank: 1,220,775
  • Product dimensions: 7.40 (w) x 9.00 (h) x 0.77 (d)

Meet the Author

Scott Duffy (Toronto, Ontario) MCSD, Sun Java 2 SCJP, CIW Associate, has eleven years of professional software design and development experience including having spent five of the past six years on web-based application development. He has written several books including "How to Do Everything with JavaScript" published by Osborne McGraw-Hill in 2002.

Read More Show Less

Table of Contents

Acknowledgments
Introduction
Pt. I Learn JavaScript Basics
Ch. 1 Prepare to Program in JavaScript 3
Ch. 2 Learn JavaScript Fundamentals 25
Ch. 3 Use Built-in JavaScript Classes 63
Ch. 4 Organize Data into Arrays 95
Ch. 5 Create Your Own JavaScript Classes 117
Pt. II Build JavaScript-Enabled Web Sites
Ch. 6 Embed JavaScript in a Web Page 141
Ch. 7 Create Scripts That Work in Every Browser 161
Ch. 8 Manipulate Web Forms 179
Ch. 9 Handle Browser Events 207
Ch. 10 Communicate Between Browser Frames 223
Ch. 11 Interact with the Web Browser 243
Ch. 12 Perform Simple Animation 259
Pt. III Take JavaScript to the Next Level
Ch. 13 Debug JavaScript Programs 281
Ch. 14 Make Your Program Errorproof 295
Ch. 15 Use JavaScript to Manage Browser Plug-Ins 313
App. A HTML 4.01 Tags 327
App. B JavaScript Quick Reference 331
Index 335
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)