The Absolutely Awesome jQuery CookBook

 The Absolutely Awesome

jQuery CookBook

(covers jQuery v1.11 or v2.1 & jQueryUI v1.11)

By Suprotim Agarwal

About the Author

Suprotim Agarwal, is an Architecture MVP (Microsoft Most Valuable Professional) and has been developing web applications for over 15 years using Microsoft and JavaScript technologies. Suprotim is also an author and founder of popular .NET websites like DotNetCurry and DevCurry and the Editor-in-Chief of the DNC .NET Magazine. His first book '51 Recipes with jQuery and Controls' was accepted very well by the developer community and he has been since then yearning to author new books.

When he is not churning out code, he spends his time with his family, checks out new gadgets, plays games on his Xbox One and teaches programming to kids.

About the Reviewer

Irvin Dominin works as Technical lead in SISTEMI S.p.A.(Turin, Italy) for .NET and Windows Projects. He is an active member on StackOverflow and spends most of his time answering jQuery/JavaScript questions. You can reach him at: irvin.dominin@ or on LinkedIn

Table Of Contents

Section I - Some Concepts

Recipe 1 Getting started with jQuery & jQuery UI3

Recipe 2 Using Content Delivery Network (CDN) 23

Recipe 3 Feature detection with Modernizr28

Recipe 4 bind() vs live() vs delegate() vs on() 32

Recipe 5 Getting started with $.ajax()46

Recipe 6 Exploring Mustache.js for Templating60

Recipe 7 Using jsPerf to Test jQuery Selectors69

Recipe 8 Important Concepts for jQuery Developers76

Section II - Input Controls

Recipe 9 Miscellaneous Input Control Operations88

Recipe 10 Clear all Form Fields102

Recipe 11 Detect if TextBox Contents Have Changed106

Recipe 12 Automatically add Commas to a Number110

Recipe 13 Allow only AlphaNumeric Values119

Recipe 14 Total the values of Multiple TextBoxes122

Recipe 15 Adding Watermark to a TextBox126

Recipe 16 TextBox AutoComplete131

Recipe 17 Select/Deselect All CheckBoxes138

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download