Beginning JavaScript 4th Edition 2010

7 4 0
Beginning JavaScript 4th Edition 2010

Đang tải... (xem toàn văn)

Thông tin tài liệu

Both a tutorial and a reference guide for web developers, employ this complete JavaScript reference to help you understand JavaScript data types, variables, operators, expressions, and [r]

(1)

Wrox Programmer to Programmer™

Join the discussion @ p2p.wrox.com

4th Edition

Beginning

JavaScript®

Paul Wilton, Jeremy McPeak Beginning Wilton, McPeak $39.99 USA $47.99 CAN Web Development/JavaScript Ja vaScrip t ®

Step-by-step guidance to creating powerful web apps with JavaScript

4th Edition wrox.com

Programmer Forums

Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world

Code Downloads

Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use

Read More

Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you

JavaScript allows you to enhance your web pages and web applications by providing dynamic, personalized, and interactive content Serving as a great introduction to JavaScript, this book offers all you need to start using JavaScript on your web pages right away It’s fully updated and covers utilizing JavaScript with the latest versions of the Internet Explorer®, Firefoxđ, and Safariđ browsers.

ã Walks you through the basics of JavaScript: what it is, how it works, and what you can with it

• Covers the various tools needed to create JavaScript web applications • Escorts you through selecting a single character from a string,

converting character codes to a string, and copying string parts • Shows you how to join arrays, copy parts of an array, sort arrays,

and reverse an array’s order

• Explains how using a JavaScript framework (such as jQuery, Prototype, and MooTools) makes JavaScript programming faster and more efficient

• Offers an in-depth look at Ajax

• Reviews common mistakes, debugging, and error handling

Paul Wilton owns his own company, providing online booking systems to vacation property owners, which is largely developed using JavaScript.

Jeremy McPeak is a self-taught programmer who began his career by tinkering with web sites in 1998 He is the coauthor of Professional Ajax, 2nd Edition and several online articles covering topics such as XSLT, ASP.NET Web Forms, and C# He is currently employed at an energy-based company

building in-house conventional and web applications.

Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.

525937_cover_2.indd

(2)

Get more out of

WROX.com

Programmer to Programmer™

Interact

Take an active role online by participating in our P2P forums

Wrox Online Library

Hundreds of our books are available online through Books24x7.com

Wrox Blox

Download short informational pieces and code to keep you up to date and out of trouble!

Chapters on Demand

Purchase individual book chapters in pdf format

Join the Community

Sign up for our free monthly newsletter at newsletter.wrox.com

Browse

Ready for more Wrox? We have books and e-books available on NET, SQL Server, Java, XML, Visual Basic, C#/ C++, and much more!

Contact Us

We always like to get feedback from our readers Have a book idea?

Need community support? Let us know by e-mailing wrox-partnerwithus@wrox.com

Beginning CSS, 2nd Edition

ISBN: 978-0-470-17708-2

Updated and revised, this book offers a hands-on look at designing standards-based, large-scale, professional-level CSS web sites Understand designers’ processes from start to finish and gain insight into how designers overcome a site’s unique set of challenges and obstacles Become comfortable with solving common problems, learn the best practices for using XHMTL with CSS, orchestrate a new look for a blog, tackle browser-compatibility issues, and develop functional navigational structures

Beginning JavaScript and CSS Development with jQuery

ISBN: 978-0-470-22779-4

Beginning JavaScript and CSS Development with jQuery presents the world of dynamic web applications to web developers from the

standpoint of modern standards The author shows new JavaScript developers how working with the standard jQuery library will help them to more with less code and fewer errors

Concise Guide to Dojo

ISBN: 978-0-470-45202-8

Dojo has rapidly become one of the hottest JavaScript-based web development frameworks It provides you with the power and flexibility to create attractive and useful dynamic web applications quickly and easily In this fast-paced, code-intensive guide, you’ll discover how to quickly start taking advantage of Dojo The pages are packed with useful information and insightful examples that will help you

JavaScript Programmer’s Reference

ISBN: 978-0-470-34472-9

Both a tutorial and a reference guide for web developers, employ this complete JavaScript reference to help you understand JavaScript data types, variables, operators, expressions, and statements, work with JavaScript frameworks and data, and improve performance with Ajax

Professional Ajax, 2nd Edition

ISBN: 978-0-470-10949-6

Professional Ajax, 2nd Edition is written for web application developers looking to enhance the usability of their web sites and web

applications and intermediate JavaScript developers looking to further understand the language This second edition is updated to cover Prototype, jQuery, FireBug, Microsoft Fiddler, ASP.NET AJAX Extensions, and much more

Professional JavaScript for Web Developers, 2nd Edition

ISBN: 978-0-470-22780-0

This updated bestseller offers an in-depth look at the JavaScript language and covers such topics as debugging tools in Microsoft Visual Studio, FireBug, and Drosera; client-side data storage with cookies, the DOM, and Flash; client-side graphics with JavaScript including SVG, VML, and Canvas; and design patterns including creational, structural, and behavorial patterns

Professional JavaScript Frameworks: Prototype, YUI, ExtJS, Dojo and MooTools

ISBN: 978-0-470-38459-6

This book offers a selection of some of the most active and most used JavaScript frameworks available, replete with practical examples and explanations of what each framework does best You’ll look at common web development tasks and discover how each framework approaches that set of tasks, as well as learn how to use the features of each framework and avoid potential pitfalls

525937_cover_2.indd

(3)

Beginning JavaScript®

Introduction xxv

Chapter 1: Introduction to JavaScript and the Web 1

Chapter 2: Data Types and Variables 17

Chapter 3: Decisions, Loops, and Functions 51

Chapter 4: Common Mistakes, Debugging, and Error Handling 87

Chapter 5: JavaScript — An Object-Based Language 133

Chapter 6: Programming the Browser 189

Chapter 7: HTML Forms: Interacting with the User 219

Chapter 8: Windows and Frames 263

Chapter 9: String Manipulation 301

Chapter 10: Date, Time, and Timers 347

Chapter 11: Storing Information: Cookies 367

Chapter 12: Dynamic HTML and the W3C Document Object Model 391

Chapter 13: Using ActiveX and Plug-Ins with JavaScript 469

Chapter 14: Ajax 491

Chapter 15: JavaScript Frameworks 527

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

25937ffirs.indd i

(4)(5)

Beginning JavaScript®

Fourth Edition

25937ffirs.indd iii

(6)

Get more out of

WROX.com

Programmer to Programmer™

Interact

Take an active role online by participating in our P2P forums

Wrox Online Library

Hundreds of our books are available online through Books24x7.com

Wrox Blox

Download short informational pieces and code to keep you up to date and out of trouble!

Chapters on Demand

Purchase individual book chapters in pdf format

Join the Community

Sign up for our free monthly newsletter at newsletter.wrox.com

Browse

Ready for more Wrox? We have books and e-books available on NET, SQL Server, Java, XML, Visual Basic, C#/ C++, and much more!

Contact Us

We always like to get feedback from our readers Have a book idea?

Need community support? Let us know by e-mailing wrox-partnerwithus@wrox.com

Beginning CSS, 2nd Edition

ISBN: 978-0-470-17708-2

Updated and revised, this book offers a hands-on look at designing standards-based, large-scale, professional-level CSS web sites Understand designers’ processes from start to finish and gain insight into how designers overcome a site’s unique set of challenges and obstacles Become comfortable with solving common problems, learn the best practices for using XHMTL with CSS, orchestrate a new look for a blog, tackle browser-compatibility issues, and develop functional navigational structures

Beginning JavaScript and CSS Development with jQuery

ISBN: 978-0-470-22779-4

Beginning JavaScript and CSS Development with jQuery presents the world of dynamic web applications to web developers from the

standpoint of modern standards The author shows new JavaScript developers how working with the standard jQuery library will help them to more with less code and fewer errors

Concise Guide to Dojo

ISBN: 978-0-470-45202-8

Dojo has rapidly become one of the hottest JavaScript-based web development frameworks It provides you with the power and flexibility to create attractive and useful dynamic web applications quickly and easily In this fast-paced, code-intensive guide, you’ll discover how to quickly start taking advantage of Dojo The pages are packed with useful information and insightful examples that will help you

JavaScript Programmer’s Reference

ISBN: 978-0-470-34472-9

Both a tutorial and a reference guide for web developers, employ this complete JavaScript reference to help you understand JavaScript data types, variables, operators, expressions, and statements, work with JavaScript frameworks and data, and improve performance with Ajax

Professional Ajax, 2nd Edition

ISBN: 978-0-470-10949-6

Professional Ajax, 2nd Edition is written for web application developers looking to enhance the usability of their web sites and web

applications and intermediate JavaScript developers looking to further understand the language This second edition is updated to cover Prototype, jQuery, FireBug, Microsoft Fiddler, ASP.NET AJAX Extensions, and much more

Professional JavaScript for Web Developers, 2nd Edition

ISBN: 978-0-470-22780-0

This updated bestseller offers an in-depth look at the JavaScript language and covers such topics as debugging tools in Microsoft Visual Studio, FireBug, and Drosera; client-side data storage with cookies, the DOM, and Flash; client-side graphics with JavaScript including SVG, VML, and Canvas; and design patterns including creational, structural, and behavorial patterns

Professional JavaScript Frameworks: Prototype, YUI, ExtJS, Dojo and MooTools

ISBN: 978-0-470-38459-6

This book offers a selection of some of the most active and most used JavaScript frameworks available, replete with practical examples and explanations of what each framework does best You’ll look at common web development tasks and discover how each framework approaches that set of tasks, as well as learn how to use the features of each framework and avoid potential pitfalls

525937_cover_2.indd

(7)

Wrox Programmer to Programmer™

Join the discussion @ p2p.wrox.com

4th Edition

Beginning

JavaScript®

Paul Wilton, Jeremy McPeak Beginning Wilton, McPeak $39.99 USA $47.99 CAN Web Development/JavaScript Ja vaScrip t ®

Step-by-step guidance to creating powerful web apps with JavaScript

4th Edition wrox.com

Programmer Forums

Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world

Code Downloads

Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use

Read More

Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you

JavaScript allows you to enhance your web pages and web applications by providing dynamic, personalized, and interactive content Serving as a great introduction to JavaScript, this book offers all you need to start using JavaScript on your web pages right away It’s fully updated and covers utilizing JavaScript with the latest versions of the Internet Explorer®, Firefox®, and Safari® browsers.

• Walks you through the basics of JavaScript: what it is, how it works, and what you can with it

• Covers the various tools needed to create JavaScript web applications • Escorts you through selecting a single character from a string,

converting character codes to a string, and copying string parts • Shows you how to join arrays, copy parts of an array, sort arrays,

and reverse an array’s order

• Explains how using a JavaScript framework (such as jQuery, Prototype, and MooTools) makes JavaScript programming faster and more efficient

• Offers an in-depth look at Ajax

• Reviews common mistakes, debugging, and error handling

Paul Wilton owns his own company, providing online booking systems to vacation property owners, which is largely developed using JavaScript.

Jeremy McPeak is a self-taught programmer who began his career by tinkering with web sites in 1998 He is the coauthor of Professional Ajax, 2nd Edition and several online articles covering topics such as XSLT, ASP.NET Web Forms, and C# He is currently employed at an energy-based company

building in-house conventional and web applications.

Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.

525937_cover_2.indd

Ngày đăng: 01/04/2021, 02:17

Tài liệu cùng người dùng

Tài liệu liên quan