HTML and CSS Reference
n n n
Overview of jQuery
To take advantage of many HTML5 features, you need to use client-side scripting techniques. Although
developing a modern web application, chances are you're already using jQuery for your client-side
scripting needs. So, sticking with jQuery for programming HTML5 features will make your code more
(selectors and Ajax calls, for example, as discussed in this chapter) that you can use in your client-side
code. Some HTML5 features require you to send data from the client to the server. This data transfer can
be done effectively through Ajax requests to the server, and jQuery offers rich support for making Ajax
requests. All the benefits mentioned here make jQuery an ideal choice for programming HTML5 features.
This chapter gives you an introduction to various jQuery features and constructs. However, the
chapter doesn't attempt to discuss every minuscule feature of jQuery. It focuses on features that are
frequently needed when programming HTML5 and that are used in the remainder of this topic.
Specifically, you learn the following:
• Event handling in jQuery
• jQuery selectors
• Manipulating the DOM using jQuery
• Ajax techniques in jQuery
n Note This chapter covers the basics of jQuery and how to use jQuery in ASP.NET applications. If you're already
familiar with jQuery, feel free to skip this chapter.
What Is jQuery?
event handling, animating, and Ajax interactions for rapid web development. jQuery is
Let's try to understand this definition of jQuery in a bit more detail.