Apress

Pro jQuery

By Adam Freeman

Pro jQuery Cover Image

jQuery is one of the most popular and powerful JavaScript libraries available today. In this book, learn how to get the most from jQuery by focusing on the features you need for your project.

Full Description

  • ISBN13: 978-1-4302-4095-2
  • 1016 Pages
  • User Level: Intermediate to Advanced
  • Publication Date: February 26, 2012
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $39.99
  • eBook Price: $27.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

jQuery is one of the most popular and powerful JavaScript libraries available today. It's widely used to create rich user experiences and to simplify website and application development. It is the tool of choice for web developers everywhere and sets the standard for simplicity, flexibility and extensibility. This book demonstrates how jQuery can be used with HTML5 to achieve excellent results.

In Pro jQuery, seasoned author Adam Freeman explains how to get the most from jQuery by focusing on the features you need for your project. He starts with the nuts and bolts and shows you everything through to advanced features, going in depth to give you the knowledge you need. Getting the most from jQuery is essential to truly mastering web development.

What you’ll learn

  • Understand the capabilities of jQuery and why it is special
  • Use the core of jQuery to enrich HTML5, including tables, forms and data displays
  • Use jQuery UI to create rich and fluid user experiences
  • Use rich interactions such as drag and drop, sortable data and touch sensitivity
  • Use jQuery Mobile to create touch-enabled interfaces for mobile devices and tablets
  • Extend jQuery by creating custom plugins and widgets
Each topic is covered clearly and concisely, and is packed with the details you'll need to learn to be truly effective with jQuery. The most important features are given a no-nonsense, in-depth treatment, and chapters contain examples that demonstrate both the power and the subtlety of jQuery.

Who this book is for

This book is for working developers who want to learn about jQuery in detail. Quick refreshers of HTML and CSS are given to help you get up to speed, but a good working knowledge of the basics is assumed.

Table of Contents

Table of Contents

  1. Putting jQuery In Context
  2. HTML Primer
  3. CSS Primer 
  4. JavaScript Primer 
  5. The jQuery Basics
  6. Managing the Element Selection 
  7. Manipulating the DOM
  8. Manipulatng the Elements
  9. Working with Events
  10. Using jQuery Effects 
  11. Refractoring the Example: Part I 
  12. Using Data Templates
  13. Working with Forms
  14. Using Ajax: Part I
  15. Using Ajax: Part II 
  16. Refractoring the Example: Part II 
  17. Setting Up jQuery UI
  18. Using the Button, Progress Bar, and Slider Widgets 
  19. Using the Autocomplete and Accordion Widgets
  20. Using the Tabs Widget
  21. Using the Datepicker Widget 
  22. Using the Dialog Widget 
  23. Using the Drag & Drop Interactions 
  24. Using the Other Interactions 
  25. Refactoring the Example: Part III 
  26. Getting Started with jQuery Mobile 
  27. Pages and Navigation
  28. Dialogs, Themes, and Layouts 
  29. Buttons and Collapsible Blocks
  30. Using jQuery Mobile Forms
  31. jQuery Mobile Lists 
  32. Refactoring the Mobile Example: Part IV 
  33. Using the jQuery Utility Methods
  34. The jQuery UI Effects & CSS Framework
  35. Using Deferred Objects
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

On page 11:

I run Node.js on a different machine to the regular web server, which means that using port 80 doesn’t cause me any problems. If you have only one machine available, run the web server on port 80 and change the Node.js script to use another port. I have highlighted the part of the test script in Listing 1-3 that specifies which port is used.

change the Node.js script
should be
change the NodeTest.js script

On page 26:

in Table 2-2, the third line
/ http://www.jacquisflowershop.com/jquery/
should be
/ http://www.jacquisflowershop.com/

On page 396:

http://node.jacquisflowershop.com/order

is invalid. it brings you to APress with an error.

On page 842:

<script type="text/javascript">
$(document).bind("pageinit", function() {
$('button').bind("tap", function() {
if (this.id == "open") {
$('#speed').selectmenu("open")
} else {
$('#speed').selectmenu("close")
}
})
})
</script>
change line
$('#speed').selectmenu("open");
reurn false;
$('#speed').selectmenu("close");
return false;