Buy new:
-19% $36.61
FREE delivery Saturday, July 13
Ships from: Amazon.com
Sold by: Amazon.com
$36.61 with 19 percent savings
List Price: $44.99

The List Price is the suggested retail price of a new product as provided by a manufacturer, supplier, or seller. Except for books, Amazon will display a List Price if the product was purchased by customers on Amazon or offered by other retailers at or above the List Price in at least the past 90 days. List prices may not necessarily reflect the product's prevailing market price.
Learn more
FREE pickup Saturday, July 13
Or fastest pickup Wednesday, July 10. Order within 21 hrs 44 mins

1.27 mi | ASHBURN 20147

How pickup works
Pick up from nearby pickup location
Step 1: Place Your Order
Select the “Pickup” option on the product page or during checkout.
Step 2: Receive Notification
Once your package is ready for pickup, you'll receive an email and app notification.
Step 3: Pick up
Bring your order ID or pickup code (if applicable) to your chosen pickup location to pick up your package.
In Stock
$$36.61 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$36.61
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Sold by
Amazon.com
Sold by
Amazon.com
Returns
Eligible for Return, Refund or Replacement within 30 days of receipt
Eligible for Return, Refund or Replacement within 30 days of receipt
Returnable Yes
Resolutions Eligible for refund or replacement
Return Window 30 days from delivery
Refund Timelines Typically, an advance refund will be issued within 24 hours of a drop-off or pick-up. For returns that require physical verification, refund issuance may take up to 30 days after drop-off or pick up. Where an advance refund is issued, we will re-charge your payment method if we do not receive the correct item in original condition. See details here.
Late fee A late fee of 20% of the item price will apply if you complete the drop off or pick up after the ‘Return By Date’.
Restocking fee A restocking fee may apply if the item is not returned in original condition and original packaging, or is damaged or missing parts for reasons not due to Amazon or seller error. See details here.
Returns
Eligible for Return, Refund or Replacement within 30 days of receipt
Returnable Yes
Resolutions Eligible for refund or replacement
Return Window 30 days from delivery
Refund Timelines Typically, an advance refund will be issued within 24 hours of a drop-off or pick-up. For returns that require physical verification, refund issuance may take up to 30 days after drop-off or pick up. Where an advance refund is issued, we will re-charge your payment method if we do not receive the correct item in original condition. See details here.
Late fee A late fee of 20% of the item price will apply if you complete the drop off or pick up after the ‘Return By Date’.
Restocking fee A restocking fee may apply if the item is not returned in original condition and original packaging, or is damaged or missing parts for reasons not due to Amazon or seller error. See details here.

Return instructions

Item must be in original condition and packaging along with tag, accessories, manuals, and inserts. Unlock any electronic device, delete your account and remove all personal information.
Read full return policy
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

Pro JavaScript Techniques 1st ed. Edition


There is a newer edition of this item:

{"desktop_buybox_group_1":[{"displayPrice":"$36.61","priceAmount":36.61,"currencySymbol":"$","integerValue":"36","decimalSeparator":".","fractionalValue":"61","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"dA1%2FcgMY0CLJh8IPyJKKmVF0I1JXnCjL%2FaNyn4lrlxFplnk7jqwX47SO9o%2F%2FwcamXqM87mieAAZtRiS5D6Mjchb7wbzE8FP8EN27aikUhRU8XjAdAqCDGOXWMmqV3YCK6MOjUYjz5fU%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$12.00","priceAmount":12.00,"currencySymbol":"$","integerValue":"12","decimalSeparator":".","fractionalValue":"00","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"dA1%2FcgMY0CLJh8IPyJKKmVF0I1JXnCjLu2FYvHvFhm%2F2P0BV%2F9c9SeMSWeo9RGGRJNhBke3C7Fn1Yq0pN3EgAgJbs%2F%2BZKCrDqf7bJonToZsTGHc5mOlu%2FJpQkpVuRwA2yEIy0NkLr%2Bh9lFYJds2a3%2FmyvFKlV96D5hJp7NlilsQmbtaWi0zMkmdFzq8SSSk1","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}],"desktop_buybox_group_2":[{"displayPrice":"$36.61","priceAmount":36.61,"currencySymbol":"$","integerValue":"36","decimalSeparator":".","fractionalValue":"61","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"dA1%2FcgMY0CLJh8IPyJKKmVF0I1JXnCjL%2FaNyn4lrlxFplnk7jqwX47SO9o%2F%2FwcamXqM87mieAAZtRiS5D6Mjchb7wbzE8FP8EN27aikUhRU8XjAdAqCDGOXWMmqV3YCK6MOjUYjz5fU%3D","locale":"en-US","buyingOptionType":"PICKUP","aapiBuyingOptionIndex":2}]}

Purchase options and add-ons

Pro JavaScript Techniques is the ultimate JavaScript book for the modern web developer. It provides everything you need to know about modern JavaScript, and shows what JavaScript can do for your web sites. This book doesn't waste any time looking at things you already know, like basic syntax and structures.

Expert web developer and author John Resig concentrates on fundamental, vital topics―what modern JavaScripting is (and isnt), the current state of browser support, and pitfalls to be wary of. The book is organized into four sections:

  • Modern JavaScript development using JavaScript the object-oriented way, creating reusable code, plus testing and debugging
  • DOM scripting updating content and styles, plus events, and effect and event libraries
  • How Ajax works, overcoming problems, and using libraries to speed up development of Ajax applications
  • The future of JavaScript looking at cutting edge topics like JSON, HTML5, and more

All concepts are backed up by real-world examples and case studies, and John provides numerous reusable functions and classes to save you time in your development. There are also up-to-date reference appendixes for the DOM, events, browser support (including IE7), and frameworks, so you can look up specific details quickly and easily.


Amazon First Reads | Editors' picks at exclusive prices

Editorial Reviews

About the Author

John Resig is a programmer and entrepreneur who's been developing web applications for over eight years. Having primarily focused on back-end development for most of that time using Perl and MySQL, John changed his focus toward implementing usable web front ends. He holds a degree in computer science from Rochester Institute of Technology in New York, and has published several papers on data mining instant messaging networks. When he's not programming, he enjoys watching movies, writing in his blog, www.ejohn.org, and spending time with his girlfriend.

Product details

  • Publisher ‏ : ‎ Apress; 1st ed. edition (December 13, 2006)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 404 pages
  • ISBN-10 ‏ : ‎ 1590597273
  • ISBN-13 ‏ : ‎ 978-1590597279
  • Item Weight ‏ : ‎ 1.58 pounds
  • Dimensions ‏ : ‎ 7.52 x 0.87 x 9.25 inches
  • Customer Reviews:

About the author

Follow authors to get new release updates, plus improved recommendations.
John Resig
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

John Resig is the Dean of Open Source and head of JavaScript development at Khan Academy and the author of the book Pro JavaScript Techniques. He’s also the creator and lead developer of the jQuery JavaScript library.

Currently, John is located in Boston, MA. He���s hard at work on his second book, Secrets of the JavaScript Ninja.

Customer reviews

3.8 out of 5 stars
3.8 out of 5
46 global ratings

Customers say

Customers find the book surprisingly simple to understand and provide a solid foundation for the rest of the chapters. They also say the code examples are disappointing and hard to follow. Opinions differ on the content complexity, with some finding it useful and effective, while others say it's hard to understand.

AI-generated from the text of customer reviews

13 customers mention "Readability"10 positive3 negative

Customers find the book's code easier to read. They also say no time is wasted on the basics, and that the book starts out well. However, some readers report that the explanations are unclear and the book is well-constructed.

"...Overall, this book was an incredible read and is highly recommended for those who want to take their Javascript skills to the next level." Read more

"...the early chapters (chapters 2 and 3) on dealing with JavaScript objects are well done...." Read more

"...web developer who's serious about writing clean, powerful, unobtrusive JavaScript code -- look no further than John Resig's Pro JavaScript Techniques." Read more

"...The first couple of chapters on Javascript code are very good. The chapters on Forms (8) and Lightbox(9) are so poor I stopped reading...." Read more

13 customers mention "Content complexity"9 positive4 negative

Customers are mixed about the content complexity. Some find the book has great information, good for the basics, and provides direct advice from a JavaScript master. They also say that the appendixes are extremely valuable and useful. However, some customers find the examples in the book hard to follow and the libraries don't make much sense.

"...The appendixes were extremely valuable, and I will use it as a quick reference as I begin developing more Javascript...." Read more

"...JavaScript surprisingly simple to understand, as well as thorough understanding of the DOM, Events models, Ajax and many other contemporary styles..." Read more

"...The book is not a write off, there is very valuable information and advice. I just am very disappointed in the code examples and their explanations...." Read more

"...This is a very helpful book for anyone wanting a quick and basic overview...." Read more

4 customers mention "Code"0 positive4 negative

Customers find the code examples in the book disappointing, buggy, and not particularly easy to understand. They also mention that the demo code does not work until you debug it.

"...I just am very disappointed in the code examples and their explanations...." Read more

"...The demo code does not work until you debug it. The first couple of chapters on Javascript code are very good...." Read more

"...But I have to downgrade it because there seem to be lots of errors in the code provided in the book. It seems as though a lot of it wasn't tested." Read more

"Just confirming what some other reviewers have noted: examples are buggy and not particularly easy to debug...." Read more

Top reviews from the United States

Reviewed in the United States on February 22, 2007
Pro Javascript Techniques by John Resig was a very in depth look at Javascript and its capabilities. I loved this book for the simple fact that the first chapter started by introducing you to objects in Javascript. No time was wasted on the basics, you were diving in deep right from the beginning. Also, even though John is the creator and lead developer of the jQuery Javascript library, this book was not about pushing his framework. He did a great job of introducing many of the different frameworks and listing their strengths and purposes.

The entire book had you building a library of usable scripts that allow for great portability while using Javascript in your applications (or even your personal website). Each chapter discussed the scripts, their functionality, their support, and giving great details to how they worked. Most chapters also gave you examples of the scripts in a working environment. A quick breakdown looks like this:

The first part of the book discussed Object Oriented Javascript. This included information related to creating your own objects and extending the core javascript objects. He then moved on to discussing testing of your code and how to package it for distribution. This is especially helpful for those working in an environment with multiple developers/programmers. Thankfully, he discussed unobtrusive DOM scripting, which still may be new to some developers. The first part closed with discussions related to AJAX and browser support, both of which we would see more of later. All of part one was a brief introduction to what we would read through the rest of the book

Part two discussed Object Orient Javascript in more detail. This included things such as basics of objects, object creation, references, overloading, scope, and closures. I found this chapter to provide a solid foundation for the rest of the chapters to come, as well as very descriptive related to objects. The next few chapters discussed creating reusable code and shined some light on several of the libraries available. Also, we got a glimpse into the wonderful world of debugging javascript and were introduced to some great tools to help you as you build.

Part three dives into unobtrusive Javascript and intricate details related to the DOM and how to manipulate the DOM. Once we learn how to properly manipulate and traverse the DOM, we move on to attaching events to elements. All of this was discussed in light of progressive enhancement and making sure content is always available. The last three chapters of this section discussed Javascript and CSS, how to improve forms (which is also a topic for another discussion), and a practical example of building an image gallery.

Part four pushes ahead to AJAX. The first chapters discussed the history of AJAX and some of its common uses. With a foundation of understanding what AJAX is, the next chapters were spent with practical examples of enhancing your blog (quick access to all posts dynamically on scroll), building an autocomplete search field, and creating an AJAX Wiki. I found that the blog and autocomplete were a little more valuable than the Wiki.

The final part looks to the future of Javascript. This section was very educational as we move forward. This is very important to be aware of what will be available in the near (hopefully) future.

The appendixes were extremely valuable, and I will use it as a quick reference as I begin developing more Javascript. A full listing of the DOM reference, Events reference, and the Browsers.

Overall, this book was an incredible read and is highly recommended for those who want to take their Javascript skills to the next level.
9 people found this helpful
Report
Reviewed in the United States on April 30, 2008
Pro JavaScript Techniques by John Resig is probably the best resource on the language I've encountered to date. I'm one of those web developers who has had something of a mental block when it comes to JavaScript. Despite its ubiquity, it always seemed like a toy language to me. It didn't help that JavaScript's syntax plays a bit fast and loose to my tastes, and that virtually all of the other resources on the language I've encountered barely scratched the surface on what the language can actually do. If you're like me - familiar with the basics, but knowing that you're not proficient enough to use it in a professional setting - then this book is for you.

First, the bad news. Like all aPress books I've encountered, this one suffers from a few small, but glaring, editing errors. Small things - variable names that change between examples for no good reason, in-text refrences to things the author didn't mention (no doubt something missed between drafts), that sort of thing - crop up. It's not enough to break the book, but it is annoying.

Also, the first section of the book moves at break-neck speed. While some of it is review, for those of us who have been toiling in web tutorials and older books, a few re-reads are necessary to truly understand what's going on. Thankfully, Resig addresses things in a logical manner, so each topic flows nicely into the next, making returning to those parts as painless as possible.

Finally, in the chapter where he discusses public, private, and privledged object properties and methods, he completely glosses over how private properties and methods function. Instead, he merely tells the user to visit Douglas Crockford's site on the matter. It's a bit of a cop-out, and I figure that since I'm spending ~$30 on the book, the least he can do is briefly condence Crockford's ideas.

All that said, though, the positives outweigh the negatives by far.

Despite the quick pacing of the book, the information (ignoring editing inconsistencies) is delivered in a straightforward manner. Resig addresses most, if not all, of those little things which are important in the real world (testing/debugging, how to work with libraries, how to ensure your code doesn't interfere with someone else's code, etc), but are often ignored in other resources.

In particular, the early chapters (chapters 2 and 3) on dealing with JavaScript objects are well done. While Resig doesn't go into all of the details (most notably with the link to Crockford's site I mentioned earlier), these chapters form the foundation of just about everything you'd want to do with the language. Indeed, these chapters address most of the pitfalls that create those pesky JavaScript errors we've all dealt with before: scope, closures, and context. Understanding how those three concepts work in unison is fundamental towards understanding modern, professional JavaScript as a whole.

Being a JavaScript book, this particular volume visits topics we're most likely all familiar with: DOM scripting, event handling, and even a bit of AJAX. Thanfully, Resig stays true to his mission of creating inobtrusive JavaScript, and keeps his HTML separated from the scripting code. This is a far cry from other self-proclaimed professional tomes that embed their JavaScript function calls within their HTML tags.

To conclude (and reiterate), Pro JavaScript Techniques is the perfect book for those developers caught in the middle. It's a resource aimed at those of us who have had experience with the language, but have never been pointed in the right direction to use it in a professional manner. Despite its annoying flaws, this book fills the rather large gap between beginner's JavaScripting and creating robust AJAX applications. It's worth owning if you ever want to do serious work with the language.
6 people found this helpful
Report
Reviewed in the United States on October 25, 2007
Let me begin this review by mentioning, I've never had the desire to write a review for any of my 100+ owned technical literature pieces. John Resig's
Pro JavaScript Techniques (Pro)  has inspired me to login and give three thumbs up for this phenomenal book.

Getting into John Resig's brain, author of the innovative library jQuery ([...] has been nothing short of an exciting ride. The author makes Object Orientated JavaScript surprisingly simple to understand, as well as thorough understanding of the DOM, Events models, Ajax and many other contemporary styles of JavaScript as its written by professionals today.

I no longer reference any of my other JavaScript books. Instead opening up John's piece proves valuable over and over when in need of a refresher or a utility function for my web applications.

For any web developer who's serious about writing clean, powerful, unobtrusive JavaScript code -- look no further than John Resig's Pro JavaScript Techniques.
5 people found this helpful
Report

Top reviews from other countries

RobustiousGavin
5.0 out of 5 stars Good read
Reviewed in Canada on December 5, 2012
Probably one of the better javascript books out there. Most of the stuff mentioned in the book should be common knowledge for most seasoned developers so if you have surpassed the point of writing your own javascript framework for web applications than you might be looking for something much more advance but if you have written a lot of javascript like plugins for websites or even if you are new at javascript but have some knowledge on programming, than you will learn a lot from this book. 10/10
Maru
5.0 out of 5 stars Der perfekte tiefere Einstieg
Reviewed in Germany on April 16, 2008
Nachdem ich mich die letzten Jahre mit 3 anderen (unbrauchbaren) Javascript Büchern herumgeschlagen habe
ist Pro Javascript endlich ein Lichtblick.

Man sollte etwas Programmiererfahrung mitbringen (in Javascript oder
auch nur in anderen Programmiersprachen) und dann gibt einem das Buch
in den ersten Kapiteln alles nötige um sauberen objekt-orientierten
Code zu schreiben.

Mir fehlten allerdings kleine Übersichtszeichnungen zu den jeweiligen Themen,
denn ein gutes Bild ist oftmals mehr Wert als tausend Worte.
Hinweise zur Javascript Dokumentation (z.B. mit JsDoc) fehlen,
dies ist aber wegen fehlender Typsicherheit (kein compiler) wesentlich.
8 people found this helpful
Report
bes
5.0 out of 5 stars すばらしい良書
Reviewed in Japan on October 5, 2007
AJAXを意識した最近のJavaScript言語を学ぶに当りすばらしい良書である。
著者は有名なJavaScriptライブラリのjQueryの開発者である。

内容は基礎的なJavaScriptの言語仕様の説明は省いているものの、JavaScript言語の特徴についてポイントを抑えて一通り説明している。
当然JavaScriptのオブジェクト指向についても詳しく説明されている。
その上で、DocumentObjectModel、イベント、CSSについて一通り説明していく。
これらの説明も単なる仕様の説明ではなく、利用する場合の注意点やそれに対する対応策といった流れの説明になっている。
対応策については豊富なサンプルコードが付いておりそのまま活用することも容易である。
本書の後半はAJAXの説明となっており、前述で説明したテクニックを活用しながらAJAXアプリケーションの構築の仕方について説明する。
LiveSearchやBlogの拡張方法などの具体的な内容も充実している。
また、有名なPrototype.jsなどの各種JavaScriptライブラリの活用方法も載っている。
これだけの内容でありながらページ数は300ページ程度と非常に読みやすい。

総論して、AJAXを学びたい・あわせてJavaScriptのスキルも磨きたいと考えている方には最良といえる。

目次立ては以下のとおり

Part1 Introducing Modern JavaScript
  chapter1 Modern JavaScript Programming
Part2 Professional JavaScript Development
  chapter2 Object-Oriented JavaScript
  chapter3 Creating Reusable Code
  chapter4 Tools for Debugging and Testing
Part3 Unobtrusive JavaScript
  chapter5 The Document Object Model
  chapter6 Events
  chapter7 JavaScript and CSS
  chapter8 Improving Forms
  chapter9 Building an Image Gallery
Part4 Ajax
  chapter10 Introduction to Ajax
  chapter11 Enhancing Blogs with Ajax
  chapter12 Autocomplete Search
  chapter13 An Ajax Wiki
Part5 The Future of JavaScript
  chapter14 Where Is JavaScript Going?
Part6 Appendixes
4 people found this helpful
Report
Christian
4.0 out of 5 stars Pro JavaScript Techniques
Reviewed in Germany on January 16, 2013
Obwohl das Buch doch schon recht alt ist (dessen sollte man sich also bewusst sein wenn man das Buch liest), so findet man doch viele Erklärungen für grundlegende Dinge in der JavaScript Welt. Ein großer Pluspunkt sind die Links im Buch um sich in gewisse Themen zu vertiefen.
Für alle die sich näher mit JavaScript beschäftigen wollen und mehr als nur ein paar Funktionen schreiben wollen, ist das Buch absolut zu empfehlen.
Tieliu Du
2.0 out of 5 stars this is a book for novice
Reviewed in Canada on October 16, 2011
I am reading this book and about to finish it in 2 days.
It is too simple for me. I think it is for developer who has no javascript at all.
And it is old. In Javascript world, ExtJS,dojo,GWT ,there a lot popular frameworks.
They distributed a lot into js world to make it more OO. But this book hardly mention them.