ASP.NET jQuery Cookbook - Second Edition
eBook - ePub

ASP.NET jQuery Cookbook - Second Edition

  1. 478 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

ASP.NET jQuery Cookbook - Second Edition

About this book

Over 60 recipes for writing client script in ASP.NET 4.6 applications using jQueryAbout This Book• This is a step-by-step guide to solve common problems in ASP.NET applications• Easy-to-follow recipes to write client scripts effortlessly and quickly• A hands-on approach that will show you how to interface jQuery with ASP.NET websites and MVCWho This Book Is ForThis book is for ASP.NET developers who want to use jQuery to write client scripts for cross-browser compatibility. The book assumes no prior knowledge of ASP.NET or jQuery, and every recipe is self-contained and explained in an easy-to-follow manner. Familiarity with Visual Studio and MS SQL Server is preferred, but not compulsory.What You Will Learn• Download and include jQuery in ASP.NET websites and MVC• Use jQuery selectors with ASP.NET server controls• Get to know about event handling and DOM traversal• Deploy jQuery for visual effects and animations• Develop AJAX-enabled ASP.NET applications• Create your own plugins• Solve common problems using less code and cut down your development timeIn DetailjQuery is a lightweight JavaScript library that has changed the landscape of client scripting in web applications. Developed by John Resig in 2006, it has taken the web by storm because of its cross-browser compatibility and the ability to get more done with less code. It has gained popularity with ASP.NET developers and is now distributed with Visual Studio and the NuGet package manager.ASP.NET jQuery Cookbook explores the wide range of utilities that the jQuery library provides. It teaches you the nitty-gritty of plugging in these features in ASP.NET web applications. It covers every aspect of interfacing the library, right from downloading and including jQuery on web pages to selecting controls, handling events, and creating animations. This book also walks you through DOM traversal and manipulation in ASP.NET and then through visual effects and graphics in ASP.NET sites. It explores advanced features such as posting AJAX requests and writing plugins. It will provide you with all the information you need to use this library confidently with ASP.NET.Style and approachThis book takes a hands-on, pragmatic approach to solving common problems in ASP.NET applications using jQuery. Every recipe has detailed steps with screen captures and code snippets. The necessary theoretical concepts are introduced as and when needed.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Information

ASP.NET jQuery Cookbook Second Edition


Table of Contents

ASP.NET jQuery Cookbook Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Started with jQuery in ASP.NET
Introduction
Downloading jQuery from jQuery.com
Getting ready
How to do it…
See also…
Understanding CDN for jQuery
How to do it…
Using CDNs for new releases
How it works…
See also
Using NuGet Package Manager to download jQuery
Getting ready
How to do it…
How it works…
See also
Adding jQuery to an empty ASP.NET web project using a script block
Getting ready
How to do it…
See also
Adding jQuery to an empty ASP.NET web project using ScriptManager control
Getting ready
How to do it…
How it works…
See also
Adding jQuery to an ASP.NET Master Page
Getting ready
How to do it…
How it works…
See also
Adding jQuery programmatically to a web form
Getting ready
How to do it…
How it works…
See also
Understanding jQuery reference in the default web application template
How to do it...
How it works…
See also
Hello World in a web project using jQuery
Getting ready
How to do it…
How it works…
See also
Bundling jQuery in ASP.NET MVC
Getting ready
How to do it…
How it works…
See also
Using CDN to load jQuery in MVC
Getting ready
How to do it…
How it works…
See also
Hello World in ASP.NET MVC using jQuery
Getting ready
How to do it…
How it works…
See also
Debugging jQuery code in Visual Studio
Getting ready
How to do it…
See also
2. Using jQuery Selectors with ASP.NET Controls
Introduction
Selecting a control using ID and displaying its value
Getting ready
How to do it…
How it works…
See also
Selecting a control using the CSS class
Getting ready
How to do it…
How it works…
See also
Selecting a control using HTML tag
Getting ready
How to do it…
How it works…
See also
Selecting a control by its attribute
Getting ready
How to do it…
How it works…
See also
Selecting an element by its position in the DOM
Getting ready
How to do it…
How it works…
See also
Enabling/disabling controls on a web form
Getting ready
How to do it…
How it works…
See also
Using selectors in MVC applications
Getting ready
How to do it…
How it works…
See also
3. Event Handling Using jQuery
Introduction
jQuery event binders
Responding to mouse events
Getting ready
How to do it…
How it works…
See also
Responding to keyboard events
Getting ready
How to do it…
How it works…
See also
Responding to form events
Getting ready
How to do it…
How it works…
See also
Using event delegation to attach events to future controls
Getting ready
How to do it…
How it works…
See also
Running an event only once
Getting ready
How to do it…
How it works…
See also
Triggering an event programmatically
Getting ready
How to do it…
How it works…
See also
Passing data with events and using event namespacing
Getting ready
How to do it…
How it works…
See also
Detaching events
Getting ready
How to do it…
How it works…
See also
4. DOM Traversal and Manipulation in ASP.NET
Introduction
Adding/removing DOM elements
Getting ready
How to do it…
How it works…
See also
Accessing parent and child controls
Getting ready
How to do it…
How it works…
See also
Accessing sibling controls
Getting ready
How to do it…
How it works…
There's more…
See also
Refining selection using a filter
Getting ready
How to do it…
How it works…
There's more…
See also
Adding items to controls at r...

Table of contents

  1. ASP.NET jQuery Cookbook Second Edition

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access ASP.NET jQuery Cookbook - Second Edition by Sonal Aneel Allana in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming Languages. We have over one million books available in our catalogue for you to explore.