Beginning JavaScript
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > Beginning JavaScript
Beginning JavaScript

Beginning JavaScript


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

The perennial bestseller returns with new details for using the latest tools and techniques available with JavaScriptJavaScript is the definitive language for making the Web a dynamic, rich, interactive medium. This guide to JavaScript builds on the success of previous editions and introduces you to many new advances in JavaScript development. The reorganization of the chapters helps streamline your learning process while new examples provide you with updated JavaScript programming techniques. You'll get all-new coverage of Ajax for remote scripting, JavaScript frameworks, JavaScript and XML, and the latest features in modern Web browsers. Plus, all the featured code has been updated to ensure compliance with the most recent popular Web browsers. Introduces you to the latest capabilities of JavaScript, the definitive language for developing dynamic, rich, interactive Web sites Features new coverage of data types and variables, JavaScript and XML, Ajax for remote scripting, and popular JavaScript frameworks Offers updated code that ensures compliance with the most popular Web browsers Includes improved examples on the most up-to-date JavaScript programming techniques Continuing in the superlative tradition of the first three editions, Beginning JavaScript, Fourth Edition, gets you up to speed on all the new advances in JavaScript development.

Table of Contents:
Introduction xxv Chapter 1: Introduction to JavaScript and the Web 1 Introduction to JavaScript 1 Where Do My Scripts Go? 7 Your First Simple JavaScript Programs 8 A Brief Look at Browsers and Compatibility Problems 15 Summary 16 Chapter 2: Data Types and Variables 17 Types of Data in JavaScript 17 Variables — Storing Data in Memory 20 Using Data — Calculations and Basic String Manipulation26 Data Type Conversion 37 Arrays 40 Summary 49 Exercise Questions 50 Chapter 3: Decisions, Loops, and Functions 51 Decision Making — The if and switch Statements 51 Looping — The for and while Statements 71 Functions 79 Summary 84 Exercise Questions 86 Chapter 4: Common Mistakes, Debugging, and Error Handling87 D’oh! I Can’t Believe I Just Did That: Some CommonMistakes 87 Error Handling 93 Debugging 103 Summary 131 Exercise Questions 131 Chapter 5: JavaScript — An Object-Based Language133 Object-Based Programming 133 JavaScript’s Native Object Types 139 Creating New Types of Objects (Reference Types) 177 Summary 187 Exercise Questions 188 Chapter 6: Programming the Browser 189 Introduction to the Browser’s Objects 190 Responding to the User’s Actions with Events 199 Summary 215 Exercise Questions 217 Chapter 7: HTML Forms: Interacting with the User 219 HTML Forms 219 Other Form Object Properties and Methods 222 Summary 260 Exercise Questions 262 Chapter 8: Windows and Frames 263 Frames and the window Object 264 Opening New Windows 284 Security 298 Summary 298 Exercise Questions 299 Chapter 9: String Manipulation 301 Additional String Methods 302 Regular Expressions 306 The String Object — split(), replace(), search(), andmatch() Methods 327 Using the RegExp Object’s Constructor 335 Summary 345 Exercise Questions 345 Chapter 10: Date, Time, and Timers 347 World Time 348 Timers in a Web Page 358 Summary 364 Exercise Questions 365 Chapter 11: Storing Information: Cookies 367 Baking Your First Cookie 367 Creating a Cookie 377 Getting a Cookie’s Value 381 Cookie Limitations 386 Cookie Security and IE6+ 388 Summary 389 Exercise Questions 389 Chapter 12: Dynamic HTML and the W3C Document Object Model391 The Web Standards 392 The Document Object Model 397 Manipulating the DOM 422 Writing Cross-Browser DHTML 447 JavaScript and XML 453 Summary 467 Exercise Questions 468 Chapter 13: Using ActiveX and Plug-Ins with JavaScript469 Checking for and Embedding Plug-ins (Non-IE Browsers) 470 Checking for and Embedding ActiveX Controls on Internet Explorer474 Using Plug-ins and ActiveX Controls 480 Summary 488 Exercise Question 489 Chapter 14: Ajax 491 What Is Ajax? 491 Using the XMLHttpRequest Object 494 Creating a Simple Ajax Module 500 Validating Form Fields with Ajax 505 Things to Watch Out For 515 Summary 525 Exercise Questions 525 Chapter 15: JavaScript Frameworks 527 Picking a Framework to Work With 527 Getting Started 528 Digging Deeper Into jQuery 537 Diving into Prototype 558 Delving into MooTools 575 Summary 590 Exercise Questions 590 Appendix A: Answers to Exercises 591 Appendix B: JavaScript Core Reference 665 Appendix C: W3C DOM Reference 697 Appendix D: Latin-1 Character Set 725 Index 733

About the Author :
Paul Wilton owns his own company, providing online bookingsystems to vacation property owners, which is largely developedusing JavaScript. Jeremy McPeak is a self-taught programmer who began hiscareer by tinkering with web sites in 1998. He is the coauthor ofProfessional Ajax, 2nd Edition and several online articlescovering topics such as XSLT, ASP.NET Web Forms, and C#. He iscurrently employed at an energy-based company building in-houseconventional and web applications.


Best Sellers


Product Details
  • ISBN-13: 9781118057391
  • Publisher: John Wiley & Sons Inc
  • Publisher Imprint: Wrox Press
  • Edition: Revised edition
  • No of Pages: 792
  • ISBN-10: 1118057392
  • Publisher Date: 21 Jan 2011
  • Binding: Digital (delivered electronically)
  • Language: English


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Beginning JavaScript
John Wiley & Sons Inc -
Beginning JavaScript
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Beginning JavaScript

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!