did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781933988351

Jquery in Action

by
  • ISBN13:

    9781933988351

  • ISBN10:

    1933988355

  • Format: Paperback
  • Copyright: 2008-02-01
  • Publisher: Manning Pubns Co
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $39.99

Summary

A good web development framework anticipates what you need to do and makes those tasks easier and more efficient; jQuery practically reads your mind. Developers of every stripe-hobbyists and professionals alike-fall in love with jQuery the minute they've reduced 20 lines of clunky JavaScript into three lines of elegant, readable code. This new, concise JavaScript library radically simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery in Action, like jQuery itself, is a concise tool designed to make you a more efficient and effective web developer. In a short 300 pages, this book introduces you to the jQuery programming model and guides you through the major features and techniques you'll need to be productive immediately. The book anchors each new concept in the tasks you'll tackle in day-to-day web development and offers unique lab pages where you immediately put your jQuery knowledge to work.

Author Biography

Bear Bibeault has been working in the area of web applications since the mid-90s, getting started with beta versions of JSP and Servlets. He is a senior moderator at the popular JavaRanch site, and has contributed articles to that site's JavaRanch Journal. He also co-authored two other Manning books: Ajax in Practice and Prototype and Scriptaculous in Action. Bear works and resides in Austin, TX.

Table of Contents

Forewordp. xi
Prefacep. xiii
Acknowledgmentsp. xvi
About this bookp. xix
About the authorsp. xxiv
About the titlep. xxvi
About the cover illustrationp. xxvii
Introducing jQueryp. 1
Why jQuery?p. 2
Unobtrusive JavaScriptp. 3
jQuery fundamentalsp. 5
The jQuery wrapperp. 6
Utility functionsp. 8
The document ready handlerp. 9
Making DOM elementsp. 11
Extending jQueryp. 12
Using jQuery with other librariesp. 14
Summaryp. 14
Creating the wrapped element setp. 16
Selecting elements for manipulationp. 17
Using basic CSS selectorsp. 19
Using child, container, and attribute selectorsp. 20
Selecting by positionp. 24
Using custom jQuery selectorsp. 27
Generating new HTMLp. 31
Managing the wrapped element setp. 32
Determining the size of the wrapped setp. 34
Obtaining elements from the wrapped setp. 34
Slicing and dicing the wrapped element setp. 36
Getting wrapped sets using relationshipsp. 43
Even more ways to use a wrapped setp. 44
Managing jQuery chainsp. 45
Summaryp. 47
Bringing pages to life with jQueryp. 48
Manipulating element properties and attributesp. 49
Manipulating element propertiesp. 51
Fetching attribute valuesp. 52
Setting attribute valuesp. 54
Removing attributesp. 56
Fun with attributesp. 56
Changing element stylingp. 58
Adding and removing class namesp. 58
Getting and setting stylesp. 61
More useful style-related commandsp. 67
Setting element contentp. 68
Replacing HTML or text contentp. 68
Moving and copying elementsp. 70
Wrapping elementsp. 75
Removing elementsp. 76
Cloning elementsp. 78
Dealing with form element valuesp. 79
Summaryp. 81
Events are where it happens!p. 82
Understanding the browser event modelsp. 84
The DOM Level 0 Event Modelp. 85
The DOM Level 2 Event Modelp. 91
The Internet Explorer Event Modelp. 97
The jQuery Event Modelp. 98
Binding event handlers using jQueryp. 98
Removing event handlersp. 103
Inspecting the Event instancep. 104
Affecting the event propagationp. 106
Triggering event handlersp. 106
Other event-related commandsp. 107
Putting events (and more) to workp. 112
Summaryp. 124
Sprucing up with animations and effectsp. 126
Showing and hiding elementsp. 127
Implementing a collapsible listp. 128
Toggling the display state of elementsp. 134
Animating the display state of elementsp. 135
Showing and hiding elements graduallyp. 135
Fading elements into and out of existencep. 140
Sliding elements up and downp. 143
Stopping animationsp. 145
Creating custom animationsp. 145
A custom scale animationp. 148
A custom drop animationp. 148
A custom puff animationp. 150
Summaryp. 152
jQuery utility functionsp. 153
Using the jQuery flagsp. 154
Detecting the user agentp. 155
Determining the box modelp. 161
Detecting the correct float style to usep. 163
Using other libraries with jQueryp. 163
Manipulating JavaScript objects and collectionsp. 167
Trimming stringsp. 168
Iterating through properties and collectionsp. 169
Filtering arraysp. 170
Translating arraysp. 172
More fun with JavaScript arraysp. 175
Extending objectsp. 176
Dynamically loading scriptsp. 180
Summaryp. 184
Extending jQuery with custom pluginsp. 185
Why extend?p. 186
The jQuery plugin authoring guidelinesp. 187
Naming files and functionsp. 187
Beware the $p. 189
Taming complex parameter listsp. 190
Writing custom utility functionsp. 192
Creating a data manipulation utility functionp. 193
Writing a date formatterp. 195
Adding new wrapper methodsp. 199
Applying multiple operations in a wrapper methodp. 201
Retaining state within a wrapper methodp. 206
Summaryp. 216
Talk to the server with Ajaxp. 217
Brushing up on Ajaxp. 218
Creating an XHR instancep. 219
Initiating the requestp. 221
Keeping track of progressp. 222
Getting the responsep. 223
Loading content into elementsp. 224
Loading content with jQueryp. 226
Loading dynamic inventory datap. 229
Making GET and POST requestsp. 233
Getting data with jQueryp. 234
Getting JSON datap. 236
Making POST requestsp. 248
Taking full control of an Ajax requestp. 249
Making Ajax requests with all the trimmingsp. 249
Setting request defaultsp. 252
Global functionsp. 253
Putting it all togetherp. 258
Implementing the flyout behaviorp. 259
Using The Termifierp. 262
Room for improvementp. 264
Summaryp. 266
Prominent, powerful, and practical pluginsp. 268
The Form Pluginp. 269
Getting form control valuesp. 270
Clearing and resetting form controlsp. 274
Submitting forms through Ajaxp. 276
Uploading filesp. 284
The Dimensions Pluginp. 285
Extended width and height methodsp. 285
Getting scroll dimensionsp. 287
Of offsets and positionsp. 289
The Live Query Pluginp. 292
Establishing proactive event handlersp. 292
Defining match and mismatch listenersp. 294
Forcing Live Query evaluationp. 294
Expiring Live Query listenersp. 295
Introduction to the UI Pluginp. 299
Mouse interactionsp. 300
UI widgets and visual effectsp. 316
Summaryp. 316
The end?p. 317
JavaScript that you need to know but might not!p. 319
Indexp. 339
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program