Learning jQuery : Better Interaction Design and Web Development with Simple JavaScript Techniques
Formats:
save 50%!
save 41%!
Free Shipping!
| Also available on: |
|
| Learning jQuery, Third Edition
Available Now. |
- Create better, cross-platform JavaScript code
- Learn detailed solutions to specific client-side problems
- For web designers who want to create interactive elements for their designs
- For developers who want to create the best user interface for their web applications.
- Read: Chapter 7 [2 MB] | Table of Contents
Book Details
Language : EnglishPaperback : 380 pages [ 235mm x 191mm ]
Release Date : July 2007
ISBN : 1847192505
ISBN 13 : 9781847192509
Author(s) : Jonathan Chaffer, Karl Swedberg
Topics and Technologies : All Books, AJAX, jQuery, Open Source, Web Development
Back to BOOK PAGE
Table of Contents
Preface
Chapter 1: Getting Started
Chapter 2: Selectors—How to Get Anything You Want
Chapter 3: Events—How to Pull the Trigger
Chapter 4: Effects—How to Add Flair to Your Actions
Chapter 5: DOM Manipulation—How to Change Your Page on Command
Chapter 6: AJAX—How to Make Your Site Buzzword-Compliant
Chapter 7: Table Manipulation
Chapter 8: Forms with Function
Chapter 9: Shufflers and Rotators
Chapter 10: Plug-ins
Appendix A: Online Resources
Appendix B: Development Tools
Appendix C: JavaScript Closures
Index
Back to BOOK PAGE
Jonathan Chaffer
Karl Swedberg
Code Downloads
Download the code and support files for this book.
Submit Errata
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Errata
- 16 submitted: last submission 21 Feb 2013Errata type:Others | Page number:0
Code for chapters 7,8,9 is stored in the bookstore folder.
Errata type:Technical | Page number: 22
Bottom of page in the css code. The first 'a' selector is missing its closing curly bracket.
a {
color: #00f; /* make plain links blue */
should be:
a {
color: #00f; /* make plain links blue */
}
Errata type:Other | Page number:0
In jQuery 1.3 [@attr] style selectors were removed (they were previously deprecated in jQuery 1.2). Simply remove the '@' symbol from your selectors in order to make them work again.
The new book (Learning jQuery 1.3) is updated with API changes such as this. ISBN 2509 was written for 1.1, and is largely compatible with 1.2.
Errata type: typo | Page number:28
Second line of last code example should start with $('th') instead of $('the')
Errata type: Technical issue | Page number:28
In the the last code block, under the heading "Styling Category Cells," the statement calling the parent of TH $('the')...
should be:
$('th')...
Errata type:Technical issue | Page number:29
Option number three reads:
$('td:contains("Henry")').parent().find('td').not(':contains("Henry")')
).addClass('highlight');
should be:
$('td:contains("Henry")').parent().find('td').not(':contains("Henry")').addClass('highlight');
Errata type: typo| Page number:2
how to alter the very structure an HTML document
should be:
how to alter the very structure *of* an HTML document
Errata type: Technical issue | Page number:30
This line is missing a single quote:
.addclass(highlight')
should be:
.addclass('highlight')
Errata type:Technical issue | Page number:51
under "Stopping Event Propagation", the line reads: "We'll remove the e.target == this"
should be:
"We'll remove the event.target == this"
Errata type:Other | Page number: 61
On the second line
$('div.button').click(function()
{ should be bold, to make sure that this line has changed from the previous example.
Errata type:Other | Page number:81
The last word 'handler' in the fourth line should not be set as the same style as the code $(document).ready
Errata type: typo| Page number:95
The first sentence in the last paragraph of 'A CSS Diversion', which reads: While the top positioning is fairly intuitive, it may not be clear at first how the pull-quote box will be located 20 pixels to the left of its positioned parent.
should end with:
to the right of its positioned parent.
Errata type:Technical issue | Page number:207
In the e-mail format example, the errorMessage string should be: var errorMessage = 'Please use proper e-mail format (e.g. joe@example.com)';
Errata type:Technical issue | Page number: 304
In code examples $(#myForm)
should be:
$('#myForm')
Errata type: Technical issue| Page number:345
function innerFun2() { outerVar+=2; alert(outerVar); }
should be:
function innerFun2() { outerVar+=2; alert(globVar); }
Errata type: Technical issue | Page number: 345
Under the section 'Interactions between Closures', the line of code that reads:
return {'innerFun': innerFun, 'outerFun2': outerFun2};
should be:
return {'innerFun': innerFun, 'innerFun2': innerFun2};
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
- Use selectors to get anything you want from a page
- Make things happen on your page with events
- Add flair to your actions with animation effects
- Change your page on command with DOM manipulation
- Use AJAX to make your site buzzword compliant!
- Transform drab, static information containers into beautiful, dynamic tables
- Breathe new life into online forms
- Create dynamic shufflers, rotators, and galleries
- Get started with three official jQuery plug-ins, and even write your own
jQuery is a powerful JavaScript library that can enhance your websites regardless of your background. In this book, creators of the popular jQuery learning resource, www.LearningjQuery.com, share their knowledge, experience, and enthusiasm about jQuery to help you get the most from the library and to make your web applications shine.
For designers, jQuery leverages existing CSS and HTML skills, allowing you to dynamically find and change any aspect of a page.This book provides a gentle introduction to jQuery concepts, allowing you to add interactions and animations to your pages - even if previous attempts at writing JavaScript have left you baffled.
For programmers, jQuery offers an open -source, standards-compliant, unobtrusive approach to writing complex JavaScript applications. This book will guide you past the pitfalls associated with AJAX, events, effects, and advanced JavaScript language features.
Stop scratching your head, and start improving your web applications with jQuery and JavaScript!
Creators of the popular jQuery learning resource, LearningjQuery.com, share their knowledge, experience, and enthusiasm about the jQuery JavaScript library to make your web applications shine!
Book Reviews
Slashdot: "You will not find a better resource online for getting into the guts of the jQuery JavaScript library than you will offline reading the book Learning jQuery."
Brian Dillard: "Chaffer and Swedberg have provided an excellent introduction to the framework..."
Ben Nadel: "This book is all about the in-depth, iterative example! After every chapter, I found myself reflecting on how thorough and well done the examples were."
SkyFox: "If you are looking to start with jQuery or expand your knowledge base, these two books will suit you well."
This book begins with a tutorial to jQuery, followed by an examination of common, real-world client-side problems, and solutions for each of them making it an invaluable resource for answers to all your jQuery questions.
This book is for web designers who want to create interactive elements for their designs, and for developers who want to create the best user interface for their web applications.
The reader will need the basics of HTML and CSS, and should be comfortable with the syntax of JavaScript. No knowledge of jQuery is assumed, nor is experience with any other JavaScript libraries required.

