jQuery 2.0 Development Cookbook


jQuery 2.0 Development Cookbook
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
$22.94
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
$44.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Create solutions for common problems using best practice techniques
  • Harness the power of jQuery to create better websites and web applications
  • Break away from boring websites and create truly intuitive websites and web apps, including mobile apps

Book Details

Language : English
Paperback : 410 pages [ 235mm x 191mm ]
Release Date : February 2014
ISBN : 1783280891
ISBN 13 : 9781783280896
Author(s) : Leon Revill
Topics and Technologies : All Books, Web Development, Cookbooks, Open Source


Table of Contents

Preface
Chapter 1: Document Object Model Manipulation
Chapter 2: Interacting with the User by Making Use of jQuery Events
Chapter 3: Loading and Manipulating Dynamic Content with AJAX and JSON
Chapter 4: Adding Attractive Visuals with jQuery Effects
Chapter 5: Form Handling
Chapter 6: User Interface
Chapter 7: User Interface Animation
Chapter 8: Understanding Plugin Development
Chapter 9: jQuery UI
Chapter 10: Working with jQuery Mobile
Index
  • Chapter 1: Document Object Model Manipulation
    • Introduction
    • Selecting elements
    • Finding and selecting sibling elements
    • Creating DOM elements
    • Inserting content into an element
    • Modifying the DOM element properties
    • Adding and removing CSS classes to dynamically change their style
    • Enabling and disabling buttons by changing their properties
    • Updating an image within a page
    • Populating list elements
    • Understanding pagination
    • Removing DOM elements
    • Re-using DOM elements
  • Chapter 2: Interacting with the User by Making Use of jQuery Events
    • Introduction
    • Detecting button clicks
    • Detecting element clicks
    • Detecting change
    • Updating content based on user input
    • Detecting key press events on inputs
    • Restricting input character length
    • Changing page elements on mouse hover
    • Triggering events manually
    • Preventing event triggers
    • Creating a custom event
  • Chapter 3: Loading and Manipulating Dynamic Content with AJAX and JSON
    • Introduction
    • Loading HTML from a web server into a page
    • Using AJAX and handling server errors
    • Processing JSON data
    • Searching JavaScript objects
    • Sorting JavaScript objects
    • Caching JSON and AJAX requests
    • Creating a search feature
    • Creating an autosuggest feature
    • Waiting for an AJAX response
  • Chapter 5: Form Handling
    • Introduction
    • Implementing basic form validation
    • Adding number validation
    • Adding credit card number validation
    • Adding date validation
    • Adding e-mail address validation
    • Implementing live form validation
    • Adding a password strength indicator
    • Adding anti-spam measures
    • Implementing input character restrictions
  • Chapter 6: User Interface
    • Introduction
    • Manipulating element CSS
    • Creating a news ticker
    • Creating sticky elements
    • Implementing smooth scrolling
    • Creating a dynamic table of contents
    • Creating a basic drag-and-drop functionality
    • Creating a dynamic animated tree menu
    • Creating an accordion content slider
    • Creating tabbed content
    • Creating a modal pop up
    • Creating a draggable content pop up
  • Chapter 7: User Interface Animation
    • Introduction
    • Creating an animated login form
    • Adding photo zoom
    • Creating an animated content slider
    • Animating background images
    • Creating an animated navigation menu
  • Chapter 8: Understanding Plugin Development
    • Introduction
    • Creating a plugin template
    • Creating a tooltip plugin
    • Building a content and image slider plugin
    • Creating an RSS feed reader plugin
    • Coding an image cropper plugin from scratch
  • Chapter 9: jQuery UI
    • Introduction
    • Creating stylish and functional buttons
    • Creating dialog boxes for user information and input
    • Implementing progress bars within your application
    • Adding date picker interfaces to input boxes quickly
    • Creating an autocomplete search feature
  • Chapter 10: Working with jQuery Mobile
    • Introduction
    • Creating a basic mobile website template
    • Building a complete static website
    • Building a dynamic mobile website
    • Implementing the quick call functionality
    • Implementing the send SMS functionality
    • Adding mobile-friendly lists
    • Using touch-oriented events
    • Creating mobile-compatible forms
    • Building a complete registration and login system
    • Building a complete mobile web app

Leon Revill

Leon Revill  has over five years' commercial web development experience with PHP5 and MySQL technologies on large and small projects. His development skillset extends over many JavaScript technologies, such as jQuery, AngularJS, and NodeJS. Being an all-round tech enthusiast, some of Leon's spare time is spent working on personal projects to allow him get to grips with new technologies quickly. Leon runs a web development blog ( http://www.revillweb.com/), where he shares his knowledge in the form of articles and tutorials.

Sorry, we don't have any reviews for this title yet.

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

- 1 submitted: last submission 07 Mar 2014

Page no: 179

The code is:

.password-strength .inner {
position: absolute;
left: 0;
top: 0;

It should be:

.password-strength .inner {

position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
}

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

jQuery 2.0 Development Cookbook +    Node.js Blueprints =
50% Off
the second eBook
Price for both: $41.55

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Use jQuery and CSS to create more complete animations
  • Construct a mobile website and web app with jQuery Mobile
  • Create robust web forms for collecting user data with validation and user feedback
  • Build powerful user interface elements to provide an intuitive experience for your users
  • Add style to your interfaces with effects and basic animations
  • Utilize jQuery and AJAX to load content into pages without the need for refreshing

In Detail

JQuery is one of the most popular JavaScript frameworks to have ever ruled the Web. It allows its developers to easily break away from static HTML and enables them to bring their sites into the modern era. With jQuery it is possible to quickly create rich interactive websites and web applications that work flawlessly across different platforms such as PC, tablets, mobile, and more.

jQuery 2.0 Development Cookbook is your go-to place for modern client-side web development solutions with detailed examples and reusable code. You will learn to use jQuery and build dynamic websites and web applications with a truly unique web experience using animations, effects, user interaction, and more.

This Cookbook's extensive and practical examples will guide you through jQuery basics all the way to create full-featured implementations. You will be shown how to add interactive and dynamic content to HTML websites and how to create cross-platform web applications.

With jQuery 2.0 Development Cookbook, you will learn everything you need to know to allow you to create modern web applications using jQuery, from the basics to complete features thanks to the detailed and practical examples.

Approach

Taking a recipe-based approach, this book presents numerous practical examples that you can use directly in your applications. The book covers the essential issues you will face while developing your web applications and gives you solutions to them. The recipes in this book are written in a manner that rapidly takes you from beginner to expert level.

Who this book is for

This book is for web developers of all skill levels. Although some knowledge of JavaScript, HTML, and CSS is required, this Cookbook will teach jQuery newcomers all the basics required to move on to the more complex examples of this book, which will benefit the more seasoned jQuery developer. If you want to learn how to create modern website features quickly, using best practice techniques, then this book is for you.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software