© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
B. HarwanijQuery Recipeshttps://doi.org/10.1007/978-1-4842-7304-3_1

1. JQuery Basics

Bintu Harwani1  
(1)
Ajmer, Rajasthan, India
 
In this chapter, we will be dealing with the basics of jQuery, such as selecting elements, applying styles, and so on. We will be covering the following recipes in this chapter:
  • Including the jQuery library on a web page

  • Getting the document ready before being processed

  • Applying a style to a wrapper set

  • Applying a style to specific paragraphs

  • Counting paragraphs of a specific class and applying styles to them

  • Returning to a prior selection

  • Removing the DOM (Document Object Model) and prepending and appending elements

  • Applying chaining in ...

Get jQuery Recipes: Find Ready-Made Solutions to All Your jQuery Problems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.