Author(s): Jay S Blanchard
Publisher: Peachpit Press
Year: 2012
Language: English
Pages: 274
City: Berkeley, CA
Contents......Page 6
Introduction......Page 9
Welcome to jQuery......Page 12
CHAPTER 1 INTRODUCING JQUERY......Page 15
Making jQuery Work......Page 17
Working with the DOM......Page 21
Selecting Elements Specifically......Page 24
Troubleshooting with Firebug......Page 25
Packing Up Your Code......Page 26
Using Return False......Page 30
Fiddling with jQuery Code......Page 31
Using PHP and MySQL......Page 33
Progressive Enhancement......Page 34
Wrapping Up......Page 38
CHAPTER 2 WORKING WITH EVENTS......Page 39
Using the Photographer’s Exchange Web site......Page 41
Creating and Calling Modal Windows......Page 42
Building an Image Carousel......Page 49
Creating Sprite-based Navigation......Page 65
Wrapping Up......Page 72
CHAPTER 3 MAKING FORMS POP......Page 73
Focusing on a Form Input......Page 75
Validating Email Addresses......Page 77
Making Sure an Input Is Complete......Page 81
Performing Client-side Validation......Page 84
Developing Server-side Validation......Page 87
Uploading Files......Page 89
Wrapping Up......Page 104
CHAPTER 4 BEING EFFECTIVE WITH AJAX......Page 105
Building the PHP Registration and Validation File......Page 107
Setting Up the jQuery Validation and Registration Functions......Page 115
Logging in the User......Page 120
Getting Content Based on the Current User......Page 123
Loading Content Based on Request......Page 125
Loading Scripts Dynamically......Page 127
Using jQuery’s AJAX Extras......Page 131
Using JSON......Page 141
Securing AJAX Requests......Page 149
Preventing Form Submission......Page 150
Using Cookies to Identify Users......Page 154
Cleansing User-supplied Data......Page 156
Transmitting Data Securely......Page 159
Wrapping Up......Page 160
CHAPTER 5 APPLYING JQUERY WIDGETS......Page 161
Customizing the jQuery UI......Page 163
Including jQuery UI Widgets......Page 167
Using jQuery Plugins......Page 186
Beefing Up Your Apps with Plugins......Page 187
Pumping Up Your Sites......Page 203
Rolling Your Own Plugins......Page 215
Wrapping Up......Page 218
CHAPTER 6 CREATING APPLICATION INTERFACES......Page 219
Establishing the Foundation......Page 221
Creating the HTML......Page 222
Applying the CSS......Page 224
Making the Interface Resizable......Page 229
Creating Better Sprites......Page 232
Loading Content with AJAX......Page 241
Configuring Additional Enhancements......Page 250
Wrapping up......Page 262
A......Page 263
D......Page 264
G......Page 265
J......Page 266
M......Page 267
P......Page 268
S......Page 269
W......Page 270
Z......Page 271