jQuery Books

Learning jQuery, Third Edition by [Chaffer, Jonathan]Chaffer, J. and Swedberg, K. (2011) Learning jQuery – Create better interaction, design, ad web development with simple JavaScript techniques, Third Edition, Packt Publishing

A newer edition of this book is available

Download eBook PDF (PDF 5,693KB)

Download Source Files (ZIP 3,384KB)

Step through each of the core concepts of the jQuery library, building an overall picture of its capabilities. Once you have thoroughly covered the basics, the book returns to each concept to cover more advanced examples and techniques. 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. Basic JavaScript programming and knowledge of HTML and CSS is required. No knowledge of jQuery is assumed, nor is experience with any other JavaScript libraries.
To build interesting, interactive sites, developers are turning to JavaScript libraries such as jQuery to automate common tasks and simplify complicated ones. Because many web developers have more experience with HTML and CSS than with JavaScript, the library’s design lends itself to a quick start for designers with little programming experience. Experienced programmers will also be aided by its conceptual consistency.
Learning jQuery Third Edition is revised and updated for version 1.6 of jQuery. You will learn the basics of jQuery for adding interactions and animations to your pages. Even if previous attempts at writing JavaScript have left you baffled, this book will guide you past the pitfalls associated with AJAX, events, effects, and advanced JavaScript language features.
Starting with an introduction to jQuery, you will first be shown how to write a functioning jQuery program in just three lines of code. Learn how to add impact to your actions through a set of simple visual effects and to create, copy, reassemble, and embellish content using jQuery’s DOM modification methods. The book will step you through many detailed, real-world examples, and even equip you to extend the jQuery library itself with your own plug-ins.

What You Will Learn

  • Create interactive elements for your web designs
  • Learn how to create the best user interface for your web applications
  • Use selectors in a variety of ways to get anything you want from a page
  • Make things happen on your webpages with events
  • Add flair to your actions with a variety of animation effects
  • Discover the new features available in jQuery 1.6 in this third update of this popular jQuery book

Table of Contents

1: Getting Started
2: Selecting Elements
3: Handling Events
4: Styling and Animating
5: Manipulating the DOM
6: Sending Data with Ajax
7: Using Plugins
8: Developing Plugins
9: Advanced Selectors and Traversing
10: Advanced Events
11: Advanced Effects
12: Advanced DOM Manipulation
13: Advanced Ajax

McFarland, D. S. (2012) JavaScript and jQuery – The Missing Manual, Second Edition, O’Reilly Media, Inc.
A newer version of this book is available
Download eBook PDF (PDF 15,997KB)
Download Source Code (ZIP 3,212KB)

JavaScript lets you supercharge your web pages with animation, interactivity, and visual effects, but learning the language isn’t easy. This fully updated and expanded guide takes you step-by-step through JavaScript basics, then shows you how to save time and effort with jQuery—the library of prewritten JavaScript code—and the newest innovations from the jQuery UI plug-in.

The important stuff you need to know:

  • Make your pages come alive. Use jQuery to create interactive elements that respond to visitor input.
  • Get acquainted with jQuery UI. Expand your interface with tabbed panels, dialog boxes, date pickers, and other widgets.
  • Display good forms. Get information from visitors, help shoppers buy goods, and let members post their thoughts.
  • Go beyond the browser with Ajax. Communicate with the web server to update your pages without reloading.
  • Put your new skills right to work. Create a simple application step-by-step, using jQuery and jQuery UI widgets.
  • Dive into advanced concepts. Use ThemeRoller to customize your widgets; avoid common errors that new programmers often make.

Table of Contents

  • Introduction;
  • What Is JavaScript?;
  • What Is jQuery?;
  • HTML: The Barebones Structure;
  • CSS: Adding Style to Web Pages;
  • Software for JavaScript Programming;
  • About This Book;
  • The Very Basics;
  • About the Online Resources;

Part One: Getting Started with JavaScript;

Chapter 1: Writing Your First JavaScript Program;

  • 1.1 Introducing Programming;
  • 1.2 How to Add JavaScript to a Page;
  • 1.3 Your First JavaScript Program;
  • 1.4 Writing Text on a Web Page;
  • 1.5 Attaching an External JavaScript File;
  • 1.6 Tracking Down Errors;

Chapter 2: The Grammar of JavaScript;

  • 2.1 Statements;
  • 2.2 Built-In Functions;
  • 2.3 Types of Data;
  • 2.4 Variables;
  • 2.5 Working with Data Types and Variables;
  • 2.6 Tutorial: Using Variables to Create Messages;
  • 2.7 Tutorial: Asking for Information;
  • 2.8 Arrays;
  • 2.9 Tutorial: Writing to a Web Page Using Arrays;
  • 2.10 A Quick Object Lesson;
  • 2.11 Comments;

Chapter 3: Adding Logic and Control to Your Programs;

  • 3.1 Making Programs React Intelligently;
  • 3.2 Tutorial: Using Conditional Statements;
  • 3.3 Handling Repetitive Tasks with Loops;
  • 3.4 Functions: Turn Useful Code Into Reusable Commands;
  • 3.5 Tutorial: A Simple Quiz;

Part Two: Getting Started with jQuery;

Chapter 4: Introducing jQuery;

  • 4.1 About JavaScript Libraries;
  • 4.2 Getting jQuery;
  • 4.3 Adding jQuery to a Page;
  • 4.4 Modifying Web Pages: An Overview;
  • 4.5 Understanding the Document Object Model;
  • 4.6 Selecting Page Elements: The jQuery Way;
  • 4.7 Adding Content to a Page;
  • 4.8 Setting and Reading Tag Attributes;
  • 4.9 Reading, Setting, and Removing HTML Attributes;
  • 4.10 Acting on Each Element in a Selection;
  • 4.11 Automatic Pull Quotes;

Chapter 5: Action/Reaction: Making Pages Come Alive with Events;

  • 5.1 What Are Events?;
  • 5.2 Using Events the jQuery Way;
  • 5.3 Tutorial: Introducing Events;
  • 5.4 More jQuery Event Concepts;
  • 5.5 Advanced Event Management;
  • 5.6 Tutorial: A One-Page FAQ;

Chapter 6: Animations and Effects;

  • 6.1 jQuery Effects;
  • 6.2 Tutorial: Login Slider;
  • 6.3 Animations;
  • 6.4 Performing an Action After an Effect Is Completed;
  • 6.5 Tutorial: Animated Dashboard;

Part Three: Building Web Page Features;

Chapter 7: Improving Your Images;

  • 7.1 Swapping Images;
  • 7.2 Tutorial: Adding Rollover Images;
  • 7.3 Tutorial: Photo Gallery with Effects;
  • 7.4 Advanced Gallery with jQuery FancyBox;
  • 7.5 Tutorial: FancyBox Photo Gallery;

Chapter 8: Improving Navigation;

  • 8.1 Some Link Basics;
  • 8.2 Opening External Links in a New Window;
  • 8.3 Creating New Windows;
  • 8.4 Opening Pages in a Window on the Page;
  • 8.5 Basic, Animated Navigation Bar;

Chapter 9: Enhancing Web Forms;

  • 9.1 Understanding Forms;
  • 9.2 Adding Smarts to Your Forms;
  • 9.3 Tutorial: Basic Form Enhancements;
  • 9.4 Form Validation;
  • 9.5 Validation Tutorial;

Chapter 10: Expanding Your Interface;

  • 10.1 Organizing Information in Tabbed Panels;
  • 10.2 Adding a Content Slider to Your Site;
  • 10.3 Determining the Size and Position of Page Elements;
  • 10.4 Adding Tooltips;

Part Four: Ajax: Communication with the Web Server;

Chapter 11: Introducing Ajax;

  • 11.1 What Is Ajax?;
  • 11.2 Ajax: The Basics;
  • 11.3 Ajax the jQuery Way;
  • 11.4 JSON;

Chapter 12: Flickr and Google Maps;

  • 12.1 Introducing JSONP;
  • 12.2 Adding a Flickr Feed to Your Site;
  • 12.3 Tutorial: Adding Flickr Images to Your Site;
  • 12.4 Adding Google Maps to Your Site; Part Five: Tips, Tricks, and Troubleshooting;

Chapter 13: Getting the Most from jQuery;

  • 13.1 Useful jQuery Tips and Information;
  • 13.2 Using the jQuery Docs;
  • 13.3 Traversing the DOM;
  • 13.4 More Functions For Manipulating HTML;
  • 13.5 Advanced Event Handling;

Chapter 14: Going Further with JavaScript;

  • 14.1 Working with Strings;
  • 14.2 Finding Patterns in Strings;
  • 14.3 Working with Numbers;
  • 14.4 Dates and Times;
  • 14.5 Putting It All Together;
  • 14.6 Writing More Efficient JavaScript;
  • 14.7 Creating Fast-Loading JavaScript;

Chapter 15: Troubleshooting and Debugging;

  • 15.1 Top JavaScript Programming Mistakes;
  • 15.2 Debugging with Firebug;
  • 15.3 Debugging Tutorial;

JavaScript Resources;

  • References;
  • Basic JavaScript;
  • jQuery;
  • Ajax;
  • Advanced JavaScript;
  • CSS;
  • The Missing Credits
  • Introduction
  • Part One: Getting Started with JavaScript
    • Chapter 1: Writing Your First JavaScript Program
    • Chapter 2: The Grammar of JavaScript
    • Chapter 3: Adding Logic and Control to Your Programs
  • Part Two: Getting Started with jQuery
    • Chapter 4: Introducing jQuery
    • Chapter 5: Action/Reaction: Making Pages Come Alive with Events
    • Chapter 6: Animations and Effects
  • Part Three: Building Web Page Features
    • Chapter 7: Improving Your Images
    • Chapter 8: Improving Navigation
    • Chapter 9: Enhancing Web Forms
    • Chapter 10: Expanding Your Interface
  • Part Four: Ajax: Communication with the Web Server
    • Chapter 11: Introducing Ajax
    • Chapter 12: Flickr and Google Maps
  • Part Five: Tips, Tricks, and Troubleshooting
    • Chapter 13: Getting the Most from jQuery
    • Chapter 14: Going Further with JavaScript
    • Chapter 15: Troubleshooting and Debugging
    • JavaScript Resources

Dutson, P. (2013) Sams Teach Yourself jQuery Mobile in 24 Hours, Sams Publishing
Download eBook PDF (PDF 17,127KB)
Download Source Code (ZIP 15,161KB)
Quickly start using jQuery Mobile with HTML, CSS, and JavaScript.
jQuery Mobile makes it easy for developers to add “native” mobile functionality to their sites and applications, delivering seamless experiences to customers using diverse mobile devices, all from a single code base. In this book, leading mobile expert Phil Dutson helps readers master the latest version of jQuery Mobile, even if they have no previous experience. In just 24 lessons of one hour or less, Dutson guides readers through every step of creating and customizing a mobile website with jQuery Mobile. Each short, easy lesson builds on all that’s come before, teaching jQuery Mobile’s newest features in the context of real solution development. Readers learn how to: -Create user interfaces with toolbars, buttons, forms, lists, events, and themes -Build responsive layouts and develop new themes -Detect diverse devices -Encode and embed mobile video -Use mobile device simulators -Build apps with PhoneGap and jQuery Mobile -Incorporate QR and Microsoft Tag Codes -And much more Step-by-step instructions walk developers through common questions, issues, and tasks… Quizzes and Exercises build and test knowledge… “Did You Know?” tips offer insider advice and shortcuts… and “Watch Out!” alerts help readers avoid problems. By the time they’re finished, readers will be comfortable going beyond the book to “mobilize” virtually any site.

In just 24 sessions of one hour or less, Sams Teach Yourself jQuery Mobile in 24 Hours will help you create mobile sites that adapt, respond, and display content on any leading device, delivering seamless experiences to all of your visitors from a single code base. With this title’s straightforward, step-by-step approach, you’ll learn how to put jQuery Mobile to work with scannable codes, videos, CMS integration, and more. Every lesson builds on what you’ve already learned prior, giving you a rock-solid foundation for real-world success!

Step-by-step instructions carefully walk you through the most common jQuery Mobile development tasks.
Quizzes and Exercises at the end of each chapter help you test your knowledge.
Notes present valuable additional information related to the discussion.
Tips offer advice or show you easier ways to perform tasks.
Cautions alert you to possible problems and give you advice on how to avoid them.

Learn how to…
• Quickly start using jQuery Mobile with HTML, CSS, and JavaScript
• Create responsive layouts that automatically optimize for any smartphone or tablet
• Detect devices and route them to specific areas of your site
• Style jQuery Mobile user interfaces that control everything users see, touch, or do
• Use events to create custom functionality for gestures
• Choose and use the best video embedding/encoding techniques for each solution
• Go beyond jQuery Mobile defaults with plugins and themes
• Add jQuery Mobile to WordPress themes
• Use scannable QRs and Tag Codes to track customers and point them to custom content
• Work with device emulators and overcome their weaknesses
• Use PhoneGap to bridge the gap between native and web applications
• “Minify” your site to make it load and run faster
• Master powerful new tips and tricks for better jQuery Mobile development

  Table of Contents

Introduction 1
Key Features of This Book     1
How to Use This Book     2
How This Book Is Organized     2
Conventions Used in This Book.     3
Sample Code for This Book     3

Part I: Beginning jQuery Mobile

Hour 1: Getting to Know jQuery Mobile     7
Why You Should Use jQuery Mobile     7
Supported Devices     9
The Developer’s Arsenal     12
Summary     18
Q&A     18
Workshop     19

Hour 2: Working with HTML, CSS, and JavaScript     21
Building Content with HTML     21
Presenting CSS     27
Functioning with JavaScript     32
Summary     37
Q&A     38
Workshop     38

Hour 3: Using the jQuery Framework     41
Including jQuery in Your Site     42
Summary     58
Q&A     58
Workshop     59

Hour 4: Introduction to the jQuery Mobile Framework     61
Adding jQuery Mobile to Your Site.     61
Using Data Roles     63
Creating a Simple Page     65
Understanding the Mobile Initialization Event     69
Using the pageinit Event Instead of $(document).ready()     70
Summary     75
Q&A     76
Workshop     76

Hour 5: Building Your First Mobile Site     79
Structuring the Page     79
Adding a Header and Footer     82
Formatting Text Content.     84
Attaching an Image     86
Linking to a Second Page     89
Summary     91
Q&A     92
Workshop     92

Part II: Creating the User Interface

Hour 6: Knowing the Capabilities of Mobile Devices     97
Understanding Screen Resolutions and PPI     97
Additional Mobile Features    101
Looking at Mobile Operating Systems     105
Learning About Mobile Graded Browser Support     108
Summary     108
Q&A     109
Workshop     110

Hour 7: Learning About Page Layout     113
Using a Single Page Layout     113
Using a Multiple Page Layout     115
Aligning Content with a Grid     122
Conquering Collapsible Content     127
Summary     130
Q&A     130
Workshop     131

Hour 8: Tuning the Toolbars     133
Adding a Header Toolbar     133
Attaching a Navigation Toolbar     137
Adding a Footer Toolbar     139
Positioning the Toolbars     144
Adding Persistent Navigation     148
Summary     150
Q&A     150
Workshop     150

Hour 9: Designing Buttons     153
Beginning with Buttons     153
Overriding Button Defaults     156
Changing the Button Size     158
Adding Icons to Buttons     162
Summary     167
Q&A     167
Workshop     168

Hour 10: Formulating Your Forms     171
Getting Started with Forms     171
Enhancing Forms with jQuery Mobile     173
Extended Input Elements     181
Submitting Forms     186
Summary     188
Q&A     188
Workshop     188

Hour 11: Learning About Lists     191
Creating Standard and Inset Lists     191
Adding Extras to Lists     194
Using Icons and Thumbnails     196
Searching List Content     202
Using a List Within a Form     204
Summary     206
Q&A     206
Workshop     206

Hour 12: Handling Events     209
Events for Page Initialization     209
Brushing Up on Touch Events     215
Looking at Virtual Mouse Events     221
Adapting to the Orientation Event     223
Summary     225
Q&A     225
Workshop     226

Hour 13: Changing the Default Theme     229
Learning About the Theme Framework     229
Theming Site Components     236
Switching the Swatches     239
Summary     247
Q&A     248
Workshop     248

Part III: Customizing Your Content

Hour 14: Sprucing Up Your Design     253
Understanding Copyrights and Licensing     253
Finding Images     257
Functionality Enhancement with Plug-ins     261
Adding Custom Fonts     265
Summary     271
Q&A     271
Workshop     272

Hour 15: Responsive Site Layout     275
Appreciating Media Queries     275
Adjusting Layouts Based on Screen Size     276
Rotating Site Layout     286
Summary     289
Q&A     289
Workshop     290

Hour 16: Rolling Your Own Theme with ThemeRoller     293
Introduction to ThemeRoller     293
Creating a Theme with ThemeRoller     294
Working with a Custom Theme     302
Summary     305
Q&A     305
Workshop     306

Hour 17: Detecting Mobile Devices     309
Learning the Importance of Mobile Detection     309
Using the .htaccess File     310
Playing Device Detective with PHP     313
Using JavaScript as a Detection Method     316
Non-Detection Solutions     320
Summary     323
Q&A     323
Workshop     324

Part IV: Extending the Mobile Experience

Hour 18: Embedding Video Playback for Mobile     327
Understanding Video Playback     327
Embedding a Video with YouTube     328
Embedding a Video with Vimeo     334
Embedding Your Own Video     336
Exploring Other Video Embedding Services     340
Summary     341
Q&A     341
Workshop     341

Hour 19: Encoding Your Own Video for Mobile     343
Learning the Basics of Video Encoding     343
Comparing Video Codecs and Mobile Devices     349
Encoding Video for Mobile Playback     351
Delivering Video Content     357
Summary      359
Q&A     360
Workshop    360

Hour 20: Creating QR and Tag Codes     363
Delving into QR and Tag Codes     363
Scanning QR Codes     364
Rendering Quick Response Codes     365
Generating Microsoft Tag Codes     375
Summary     379
Q&A     379
Workshop     380

Hour 21: Learning to Minify Everything     381
Compressing Code     381
Using Gzip and Deflate     387
Compressing Images     389
Using mod_pagespeed on Your Apache Server     394
Summary     395
Q&A     395
Workshop     396

Hour 22: Using Mobile Device Emulators     397
Turning to Mobile Device Emulators     397
Finding Emulators for Testing     399
Using Emulators for Testing     411
Summary     415
Q&A     415
Workshop     416

Hour 23: Building an App with PhoneGap and jQuery Mobile     419
Getting Started with PhoneGap     419
Including jQuery Mobile in Your Project     430
Compiling the Application     . 437
Summary     440
Q&A     440
Workshop     440

Hour 24: Including jQuery Mobile with WordPress     443
Introducing the WordPress CMS     443
Installing WordPress     444
Creating a Custom Theme for WordPress     445
Adding jQuery Mobile to Your Theme     447
Summary     461
Q&A     462
Workshop     462


Dayley, B. (2013) Sam’s Teach Yourself jQuery and JavaScript, Sams Publishing

Download eBook PDF (PDF KB)
Download Source Code (ZIP 8,888KB)

Learn jQuery and JavaScript in 24 one-hour lessons

Sams Teach Yourself jQuery and JavaScript in 24 Hours helps you build dynamic single-page web apps that deliver the rich experiences your users want.
This book’s straightforward, step-by-step approach shows you how to create effects, animations, lists, complex forms, and more. In just a few hours, you’ll be building great user interfaces for any device, even the newest smartphones and tablets. Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success.

  • Step-by-step instructions carefully walk you through the most common jQuery and JavaScript development tasks.
  • Practical, hands-on examples show you how to apply what you learn.
  • Quizzes and exercises help you test your knowledge and stretch your skills
  • Notes and tips point out shortcuts and solutions

Learn how to…

  • Quickly start building web pages with jQuery and JavaScript
  • Master jQuery syntax, logic, functions, and objects
  • Efficiently access, manipulate, and navigate DOM elements
  • Build highly interactive web pages with events and event handlers
  • Implement cookies, pop-up windows, and timers
  • Create animations, special effects, and image galleries
  • Construct, interact with, and validate forms
  • Use advanced elements, such as table filters, custom dialogs, and dynamic sparklines
  • Access server-side data via AJAX
  • Work with data using JSON, XML, queues, and binding
  • Build superior user interfaces more quickly with jQuery UI
  • Add richer page interactions with jQuery UI Widgets
  • Create mobile-friendly pages with jQuery Mobile
  • Customize your mobile pages with jQuery Mobile ThemeRoller

Table of Contents

PART I: Introduction to jQuery and JavaScript Development

HOUR 1: Intro to Dynamic Web Programming

• Understanding the Web Server/Browser Paradigm

• Preparing to Write jQuery and JavaScript

HOUR 2: Debugging jQuery and JavaScript Web Pages• Viewing the JavaScript Console

• Debugging HTML Elements

• Debugging CSS

• Debugging jQuery and JavaScript

• Analyzing the Network Traffic

HOUR 3: Understanding Dynamic Web Page Anatomy• Using HTML/HTML5 Elements to Build a Dynamic Web Page

• Understanding HTML Structure

• Implementing HTML Head Elements

• Adding HTML Body Elements

• Adding Some Advanced HTML5 Elements

HOUR 4: Adding CSS/CSS3 Styles to Allow Dynamic Design and Layout

• Adding CSS Styles to the Web Page

• Adding CSS Styles to HTML Elements

• Preparing CSS Styles for Dynamic Design

HOUR 5: Jumping into jQuery and JavaScript Syntax• Adding jQuery and JavaScript to a Web Page

• Accessing the DOM

• Understanding JavaScript Syntax

HOUR 6: Understanding and Using JavaScript Objects• Using Object Syntax

• Understanding Built-In Objects

• Creating Custom-Defined Objects

PART II: Implementing jQuery and JavaScript in Web PagesHOUR 7: Accessing DOM Elements Using JavaScript and jQuery Objects

• Understanding DOM Objects Versus jQuery Objects

• Accessing DOM Objects from JavaScript

• Using jQuery Selectors

HOUR 8: Navigating and Manipulating jQuery Objects and DOM Elements with jQuery• Chaining jQuery Object Operations

• Filtering the jQuery Object Results

• Traversing the DOM Using jQuery Objects

• Looking at Some Additional jQuery Object Methods

HOUR 9: Applying Events for Richly Interactive Web Pages• Understanding Events

• Using the Page Load Events for Initialization

• Adding and Removing Event Handlers to DOM Elements

• Triggering Events Manually

• Creating Custom Events

• Implementing Callbacks

HOUR 10: Dynamically Accessing and Manipulating Web Pages• Accessing Browser and Page Element Values

• Dynamically Manipulating Page Elements

• Dynamically Rearranging Elements on the Web Page

HOUR 11: Accessing Data Outside the Web Page• Understanding the Screen Object

• Using the Window Object

• Using the Browser Location Object

• Using the Browser History Object

• Controlling External Links

• Adding Pop-up Boxes

• Setting Timers

PART III: Building Richly Interactive Web Pages

HOUR 12: Enhancing User Interaction Through Animation and Other Special Effects

• Understanding jQuery Animation

• Animating Show and Hide

• Animating Visibility

• Sliding Elements

• Creating Resize Animations

• Implementing Moving Elements

HOUR 13: Interacting with Web Forms

• Accessing Form Elements

• Intelligent Form Flow Control

• Dynamically Controlling Form Element Appearance and Behavior

• Validating a Form

HOUR 14: Creating Advanced Web Page Elements

• Adding an Image Gallery

• Implementing Tables with Sorting and Filters

• Creating a Tree View

• Using Overlay Dialogs

• Implementing a Graphical Equalizer Display

• Adding Sparkline Graphics

PART IV: Advanced Concepts

HOUR 15: Accessing Server-Side Data via AJAX

• Making AJAX Easy

• Implementing AJAX

• Using Advanced jQuery AJAX

HOUR 16: Interacting with External Services, Facebook, Google, Twitter, and Flickr

• Using jQuery and JavaScript to Add Facebook Social Elements to Your Web Pages

• Adding Google Maps to Your Web Pages

• Adding a Custom Google Search

• Adding Twitter Elements to Your Web Pages

• Adding Flickr Images to Your Website

PART V: jQuery UI

HOUR 17: Introducing jQuery UI

• Getting Started with jQuery UI

• Applying jQuery UI in Your Scripts

HOUR 18: Using jQuery UI Effects• Applying jQuery UI Effects

• Adding Effects to Class Transitions

• Adding Effects to Element Visibility Transitions

HOUR 19: Advanced Interactions Using jQuery UI Interaction Widgets• Introducing jQuery UI Interactions

• Using the Drag-and-Drop Widgets

• Resizing Elements Using the Resizable Widget

• Applying the Selectable Widget

• Sorting Elements with the Sortable Widget

HOUR 20: Using jQuery UI Widgets to Add Rich Interactions to Web Pages

• Reviewing Widgets

• Adding an Expandable Accordion Element

• Implementing Autocomplete in Form Elements

• Applying jQuery UI Buttons to Form Controls

• Creating a Calendar Input

• Generating Stylized Dialogs with jQuery UI

• Implementing Stylized Menus

• Creating Progress Bars

• Implementing Slider Bars

• Adding a Value Spinner Element

• Creating Tabbed Panels

• Adding Tooltips to Page Elements

• Creating Custom Widgets

PART VI: jQuery MobileHOUR 21: Introducing Mobile Website Development

• Jumping into the Mobile World

• Getting Started with jQuery Mobile

• Understanding jQuery Mobile

HOUR 22: Implementing Mobile Web Pages• Building Mobile Pages

• Implementing Mobile Sites with Multiple Pages

• Creating a Navbar

• Implementing Dialogs

HOUR 23: Formatting Content in Mobile Pages

• Adding Basic HTML

• Creating a Grid Layout

• Implementing Listviews

• Using Collapsible Blocks and Sets

• Adding Auxiliary Content to Panels

• Working with Pop-ups

• Building Mobile-Friendly Tables

HOUR 24: Implementing Mobile Form Elements and Controls

• Understanding Mobile Forms

• Using Text Elements

• Defining Buttons

• Adding Sliders and Toggle Switches

• Defining Radios and Check Boxes

• Implementing Select Menus


Castledine, E. and Sharkie, C. (2012) JQuery – Novice to Ninja – New Kicks and Tricks, Second Edition, SitePoint Pty. Ltd.

Download eBook PDF (PDF 16,454KB)
Download Source Code (ZIP 3,296KB)

Simple, fast, versatile — JavaScript the way it should be!

jQuery: Novice to Ninja: New Kicks And Tricks (2nd Edition) is your fast track to mastering jQuery—the all-conquering JavaScript framework. Used by over half the world’s top 10,000 websites, jQuery is the fastest, most efficient way to add killer functionality to your site. Now in its second edition, you’ll be taken through the fundamentals of jQuery, adding interactivity and animation to your websites. Then, you’ll be taken through more sophisticated techniques, including plugins, UI widgets, and the brand new jQuery mobile framework.

Query: Novice to Ninja, 2nd Edition is the perfect book to jump-start your journey into jQuery. You’ll learn all the basics, so you’ll be able to truly appreciate the power of this JavaScript framework. Then you’ll move on to more advanced techniques, such as plugin development and the creation of almost every conceivable UI widget.

  • A practical, hands-on guide to using jQuery
  • Ready-to-use best practice solutions
  • Includes complete working code
  • Fully updated for jQuery 1.6

What you’ll learn

  • Learn the fundamentals of jQuery, adding interactivity and animation to your websites
  • Using plugins, UI widgets, and the brand new jQuery Mobile framework
  • Effortlessly control any page element with powerful jQuery selectors
  • Construct impressive animations with just a few lines of code
  • Tap the power of jQuery UI to create complex menus, tooltips, and panels
  • Add intelligent interactive forms and elegant drop-down menus
  • Build a complete working application, StarTrackr!, as you learn

Contents

  1. Falling in Love with jQuery
  2. Selecting, Decorating, and Enhancing
  3. Animating, Scrolling, and Resizing
  4. Images and Slideshows
  5. Menus, Tabs, Tooltips, and Panels
  6. Construction, Ajax, and Interactivity
  7. Forms, Controls, and Dialogs
  8. Lists, Trees, and Tables
  9. Plugins, Themes, and Advanced Topics

Duckett, J. (2014) “JavaScript and jQuery – Interactive Front-End Web Development” , John Wiley and Sons, Inc

Download eBook PDF (PDF 93,698KB) (File too large to upload.  See separate chapters below)

Download Source Code (ZIP 4,981KB)

Companion Web Site: http://www.javascriptbook.com/

Learn JavaScript and jQuery a nicer way

This full–color book adopts a visual approach to teaching JavaScript & jQuery, showing you how to make web pages more interactive and interfaces more intuitive through the use of inspiring code examples, infographics, and photography. The content assumes no previous programming experience, other than knowing how to create a basic web page in HTML & CSS. You′ll learn how to achieve techniques seen on many popular websites (such as adding animation, tabbed panels, content sliders, form validation, interactive galleries, and sorting data)..

  • Introduces core programming concepts in JavaScript and jQuery
  • Uses clear descriptions, inspiring examples, and easy–to–follow diagrams
  • Teaches you how to create scripts from scratch, and understand the thousands of JavaScripts, JavaScript APIs, and jQuery plugins that are available on the web
  • Demonstrates the latest practices in progressive enhancement, cross–browser compatibility, and when you may be better off using CSS3

If you′re looking to create more enriching web experiences and express your creativity through code, then this is the book for you.

Table of Contents

Introduction

Chapter 1: The ABC of Programming

Chapter 2: Basic JavaScript Instructions

Chapter 3: Functions, Methods & Objects

Chapter 4: Decisions & Loops

Chapter 5: Document Object Model

Chapter 6: Events

Chapter 7: jQuery

Chapter 8: Ajax & JSON

Chapter 9: APIs

Chapter 10: Error Handling & Debugging

Chapter 11: Content Panels

Chapter 12: Filtering, Searching & Sorting

Chapter 13: Form Enhancement & Validation


The following are PDFs of the chapters:

JavaScript and JQuery Interactive Front-End Web Development – Introduction (PDF 1,799KB)

JavaScript and JQuery Interactive Front-End Web Development – Chapter 1 – The ABC of Programming (PDF 4,782KB)

JavaScript and JQuery Interactive Front-End Web Development – Chapter 2 – Basic JavaScript Instructions (PDF 4,805KB)

JavaScript and JQuery Interactive Front-End Web Development – Chapter 3 – Functions, Methods and Objects (PDF 9,186KB)

JavaScript and JQuery Interactive Front-End Web Development – Chapter 4 – Decisions and Loops (PDF 5,184KB)

JavaScript and JQuery Interactive Front-End Web Development – Chapter 5 – Document Object Model (PDF 8,866KB)

JavaScript and JQuery Interactive Front-End Web Development – Chapter 6 – Events (PDF 7,282KB)

JavaScript and JQuery Interactive Front-End Web Development – Chapter 7 – jQuery (PDF 10,649KB)

JavaScript and JQuery Interactive Front-End Web Development – Chapter 8 – Ajax and JSON (PDF 6,231KB)

JavaScript and JQuery Interactive Front-End Web Development – Chapter 9 – APIs (PDF 6,477KB)

JavaScript and JQuery Interactive Front-End Web Development – Chapter 10 – Error Handling and Debugging (PDF 5,125KB)

JavaScript and JQuery Interactive Front-End Web Development – Chapter 11 – Content Panels (PDF 6,177KB)

JavaScript and JQuery Interactive Front-End Web Development – Chapter 12 – Filtering, Searching and Sorting (PDF 5,904KB)

JavaScript and JQuery Interactive Front-End Web Development – Chapter 13 – Form Enhancement and Validation (PDF 9,165KB)

JavaScript and JQuery Interactive Front-End Web Development – Index (PDF 2,542KB)


PowerPoint Slides

All PowerPoint Slides (ZIP 16,942KB)

Introduction
PowerPoint – JavaScript and jQuery – Introduction (PPT 437KB)

Chapter 1
PowerPoint – JavaScript and jQuery – Chapter 1 – The ABC of Programming – A (PPT 551KB)
PowerPoint – JavaScript and jQuery – Chapter 1 – The ABC of Programming – B (PPT 1,675KB)
PowerPoint – JavaScript and jQuery – Chapter 1 – The ABC of Programming – C (PPT 473KB)

Chapter 2
PowerPoint – JavaScript and jQuery – Chapter 2 – Basic JavaScript Instructions (PPT 577KB)

Chapter 3
PowerPoint – JavaScript and jQuery – Chapter 3 – Functions, Methods and Objects (PPT 1,284KB)

Chapter 4
PowerPoint – JavaScript and jQuery – Chapter 4 – Decisions and Loops (PPT 752KB)

Chapter 5
PowerPoint – JavaScript and jQuery – Chapter 5 – Document Object Model (PPT 524KB)

Chapter 6
PowerPoint – JavaScript and jQuery – Chapter 6 – Events (PPT 560KB)

Chapter 7
PowerPoint – JavaScript and jQuery – Chapter 7 – jQuery (PPT 667KB)

Chapter 8
PowerPoint – JavaScript and jQuery – Chapter 8 – AJAX and JSON (PPT 477KB)

Chapter 9
PowerPoint – JavaScript and jQuery – Chapter 9 – APIs (PPT 598KB)

Chapter 10
PowerPoint – JavaScript and jQuery – Chapter 10 – Error Handling and Debugging (PPT 727KB)

Chapter 11
PowerPoint – JavaScript and jQuery – Chapter 11 – Content Panels (PPT 966KB)

Chapter 12
PowerPoint – JavaScript and jQuery – Chapter 12 – Filtering, Searching and Sorting (PPT 9,351KB)

Chapter 13
PowerPoint – JavaScript and jQuery – Chapter 13 – Form Enhancement and Validation (PPT 2,201KB)


Quizzes

Chapter 1
Questions – Chapter 1 – The ABC of Programming (PDF 80KB)
Questions – Chapter 1 – The ABC of Programming – Answers (PDF 79KB)

Chapter 2
Questions – Chapter 2 – Basic JavaScript Instructions (PDF 85KB)
Questions – Chapter 2 – Basic JavaScript Instructions – Answers (PDF 85KB)

Chapter 3
Questions – Chapter 3 – Functions, Methods and Objects (PDF 96KB)
Questions – Chapter 3 – Functions, Methods and Objects – Answers (PDF 96KB)

Chapter 4
Questions – Chapter 4 – Decisions and Loops (PDF 71KB)
Questions – Chapter 4 – Decisions and Loops – Answers (PDF 71KB)

Chapter 5
Questions – Chapter 5 – Document Object Model (PDF 81KB)
Questions – Chapter 5 – Document Object Model – Answers (PDF 81KB)

Chapter 6
Questions – Chapter 6 – Events (PDF 79KB)
Questions – Chapter 6 – Events – Answers (PDF 79KB)

Chapter 7
Questions – Chapter 7 – jQuery (PDF 64KB)
Questions – Chapter 7 – jQuery – Answers (PDF 63KB)

Chapter 8
Questions – Chapter 8 – AJAX and JSON (PDF 70KB)
Questions – Chapter 8 – AJAX and JSON – Answers (PDF 70KB)

Chapter 9
Questions – Chapter 9 – APIs (PDF 71KB)
Questions – Chapter 9 – APIs – Answers (PDF 71KB)

Chapter 10
Questions – Chapter 10 – Error Handling and Debugging (PDF 61KB)
Questions – Chapter 10 – Error Handling and Debugging – Answers (PDF 61KB)

Chapter 11
Questions – Chapter 11 – Content Panels (PDF 70KB)
Questions – Chapter 11 – Content Panels – Answers (PDF 70KB)

Chapter 12
Questions – Chapter 12 – Filtering, Searching and Sorting (PDF 67KB)
Questions – Chapter 12 – Filtering, Searching and Sorting – Answers (PDF 67KB)

Chapter 13
Questions – Chapter 13 – Form Enhancement and Validation (PDF 69KB)
Questions – Chapter 13 – Form Enhancement and Validation – Answers (PDF 68KB)


Ruvalcaba, Z. and Murach, M. (2012) Murach’s JavaScript and jQuery, Mike Murach and Associates, Inc

Download eBook PDF (PDF 89,616KB)
Download Source Code (ZIP 15,241KB)

Book’s Website: https://www.murach.com/shop/murach-s-javascript-and-jquery-detail

Today, jQuery is used by over half of the 10,000 most-visited web sites, and jQuery is one of the technologies that every web developer should master. The trouble is that jQuery is difficult to learn, especially for programming novices. Now, this new book makes it easier than ever to learn jQuery, jQuery UI (User Interface), and jQuery Mobile. In essence, sections 2 and 3 of this book present all of the jQuery and jQuery UI skills that you need for developing professional jQuery applications. With those skills, you will be able to add all of the popular jQuery applications to your web pages: image swaps, image rollovers, collapsible panels, slide shows, accordions, tabs, carousels, and more. Beyond that, though, you will have all the skills that you need for developing unique jQuery applications of your own. But that’s just two of the five sections in the book. Because you need to know JavaScript in order to use jQuery, section 1 presents the least you need to know about JavaScript to get the most from jQuery. This is essential for programming novices, but this is also valuable for experienced programmers who may not remember how a specific JavaScript statement or method works. In short, this section makes this book a complete reference for jQuery programmers. In contrast, section 4 takes jQuery to a new level by showing you how to use Ajax and JSON to get data from a web server and add it to a web page without reloading the page. It also shows how to use Ajax and JSON with the APIs for popular web sites like Blogger, YouTube, Twitter, Flickr, and Google Maps. These are powerful skills for enhancing a web site. To complete this package, section 5 presents a complete course in jQuery Mobile, which offers an exciting, new way to develop web sites for mobile devices. Today, the best web sites are available in both full and mobile versions, so this section also shows how to use a JavaScript plugin to redirect a mobile device from the full version of a web site to its mobile version.

Section 1: The least you need to know about JavaScript to get the most from jQuery

To get you off to the right start, section 1 presents a crash course in the JavaScript skills that you need for using jQuery. Although you can’t use jQuery without these JavaScript skills, most jQuery books don’t include them.

This section is especially designed for programming novices. But even if you already know JavaScript, you’ll probably pick up a few new skills as you skim through the chapters. (And our paired-pages format makes it easy to skim.)

Section 2: The core jQuery skills for every web developer

In this section, you’ll learn how to use jQuery to create JavaScript applications like image swaps, collapsible panels, slide shows, carousels, user-friendly forms…and more…with far less coding than you’d have to do in native JavaScript.

To begin, chapter 7 presents the jQuery selectors, methods, and event methods that you’ll use most often. Then, the next four chapters build on that base as they focus on effects and animations, DOM manipulation and traversal, forms and data validation, the many plugins that are available for jQuery, and how to create your own plugins. When you complete this section, you can go on to any of the 3 sections that follow.

Section 3: Enhance your web pages by using jQuery UI

Besides the core jQuery library, jQuery provides the jQuery UI (User Interface) library. This library helps you build features that your site visitors may appreciate, all with just a few lines of code. So this section shows you how to use jQuery UI to create widgets like tabs, accordions, and datepickers…interactions like draggable, droppable, and sortable…and effects like color and class transitions.

Section 4: Speed up response times and add content feeds with Ajax and JSON

Ajax and JSON are hot topics today. Together, they can be used to get data from a server and add it to a web page without reloading the entire page, which can significantly improve response times for users (if you’ve ever scrolled around a Google Map, you’ve seen this in action). But to be honest, the coding can be mind-bending. Fortunately, jQuery provides methods that make it far more manageable.

So in this section, you’ll learn how to use jQuery with Ajax and JSON to deliver data to your websites. First, you’ll learn the

basics. Then, you’ll learn how to work with the APIs for websites like Blogger, YouTube, Twitter, Flickr, and Google Maps to add popular content to your pages. This is a major use of Ajax and JSON…yet no other jQuery book shows you how to do it.

Section 5: Mobile websites made easier with jQuery Mobile

This section shows you how to use another JavaScript library, jQuery Mobile, to develop web pages for mobile devices with the look-and-feel of native applications. In fact, for jQuery users, there’s no better way to develop mobile websites right now. And you can add it to your skill set any time after you’ve finished Section 2.

Section 1 JavaScript essentials

Chapter 1 Introduction to web development

Chapter 2 Getting started with JavaScript

Chapter 3 How to work with objects, functions, and events

Chapter 4 How to test and debug a JavaScript application

Chapter 5 How to work with arrays

Chapter 6 How to script the DOM with JavaScript

Section 2 jQuery essentials

Chapter 7 Get off to a fast start with jQuery

Chapter 8 How to use effects and animations

Chapter 9 How to use the DOM manipulation and traversal methods

Chapter 10 How to work with forms and data validation

Chapter 11 How to create and use plugins

Section 3 jQuery UI essentials

Chapter 12 Get off to a fast start with jQuery UI themes and widgets

Chapter 13 How to use jQuery UI interactions and effects

Section 4 Ajax, JSON, and API essentials

Chapter 14 How to use Ajax, JSON, and Blogger

Chapter 15 How to use the APIs for Youtube, Twitter, and Flickr

Chapter 16 How to use the API for Google Maps

Section 5 jQuery Mobile essentials

Chapter 17 Get off to a fast start with jQuery Mobile

Chapter 18 How to enhance a jQuery Mobile web site

Appendixes

Appendix A How to set up your computer for this book

Appendix B A summary of the applications in this book

Appendix C How to resolve $ conflicts