Beginning JQuery 2 for ASP.NET Developers: Using JQuery 2 with ASP.NET Web Forms and ASP.NET MVC

Front Cover
Apress, Dec 7, 2013 - Computers - 336 pages

jQuery is the most popular JavaScript library in use today, appearing on nearly two thirds of the 10,000 most visited sites on the web. With this sort of popularity, it’s clear that ASP.NET developers can’t afford to miss out.

By combining jQuery with ASP.NET you get the best of both worlds: the client-side interactivity and responsiveness of JavaScript with the robustness and extensibility of Microsoft's web stack. Beginning jQuery 2 for ASP.NET Developers shows you how.

To begin with, you'll find out how jQuery hooks up with your ASP.NET controls, and simplifies event handling by keeping it in the browser. Then you'll learn to handle dynamic content and responsive layouts by interacting with the DOM. Effects and animations are one of the most popular uses of the jQuery library, so we cover that next—showing you how to get a sleek modern look and feel to your site using some of the vast library of JavaScript that's already out there waiting to be used.

Ajax is one of the areas where jQuery really shines, so you'll find out how to make Ajax calls to a web service and get data onto a page without waiting for slow ASP.NET postbacks every time. And no book on jQuery would be complete without jQuery Mobile: the popular mobile web framework that gets you writing sites that work across all the major mobile platforms.

What you’ll learnSelect DOM elements using powerful jQuery selectorsUse jQuery with ASP.NET server controls, ASP.NET MVC form fields and other DOM elementsManipulate and traverse the DOM tree and add jQuery effects to ASP.NET web pagesMake Ajax calls and pass JSON data to Web Services, Web Methods, WCF services, controller action methods, HTTP handlers and Web APIs Understand code reuse by creating and using jQuery plugins Get introduced to jQuery UI and jQuery mobile and use them in ASP.NET Web Forms and MVC applicationsWho this book is for

This book is for novice to intermediate developers who want to improve and enhance their ASP.NET Web Forms and ASP.NET MVC projects with client-side scripting.

Table of ContentsChapter 1. The JavaScript You Need to Know

Chapter 2. A First Look at jQuery

Chapter 3. ASP.NET Controls and jQuery Selectors

Chapter 4. How jQuery Simplifies Event Handling

Chapter 5. The DOM and Dynamic Content

Chapter 6. More DOM and Useful jQuery Methods

Chapter 7. Great-looking ASP.NET Pages with jQuery Effects and Animations

Chapter 8. Making Ajax Calls to .NET Web Services

Chapter 9. Creating and Using jQuery Plug-ins

Chapter 10. jQuery UI and jQuery Mobile

Chapter 11. Useful jQuery and ASP.NET Recipes

Appendix: Learning Resources

 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Chapter 1 The JavaScript You Need to Know
1
Chapter 2 A First Look at jQuery
33
Chapter 3 ASPNET Controls and jQuery Selectors
63
Chapter 4 Event Handling
103
Chapter 5 DOM Manipulation and Dynamic Content
135
Chapter 6 Traversal and Other Useful Methods
157
Chapter 7 Effects and Animations
179
Chapter 8 Ajax Techniques
193
Chapter 10 jQuery UI and jQuery Mobile
255
Chapter 11 Useful jQuery Recipes for ASPNET Applications
281
APPENDIX Learning Resources
301
Index
303
Contents
vii
About the Author
xv
About the Technical Reviewer
xvi
Acknowledgments
xvii

Chapter 9 Creating and Using Plugins
231

Other editions - View all

Common terms and phrases

About the author (2013)

Bipin Joshi is an independent blogger and author who writes about apparently unrelated topics technology and yoga. A former software consultant and trainer by profession, Bipin has been programming since 1995 and has worked with the .NET framework since its inception. He is a published author and has authored or co-authored more than a half dozen books and numerous articles on .NET technologies. Bipin was a Microsoft Most Valuable Professional (MVP) and a Microsoft Certified Trainer (MCT) during his tenure as a software consultant and trainer. He can be reached at www.bipinjoshi.com.

Bibliographic information