Skip to content

Tag Archives: jQuery-Selectors

To remove elements and content, we use jQuery remove() method which removes the selected element as well as everything inside it, also it will remove… Read More
In this article, we will learn to store data to DOM elements. If we want to save some data in an HTML tag, we can… Read More
In this article, we will learn to change the color of any HTML div that is animated using jQuery. We will be using the jQuery… Read More
The task is to find all the inputs that are descendants (child or grandchild) of a form and mark them with a dotted red border… Read More
The task is to find all the checkbox input using jQuery. Checkboxes are the square boxes that are ticked when activated, and it is used… Read More
The jQuery ” :enabled” pseudo-class selector helps to find all the input element that are enabled. This pseudo-class selector should only be used for selecting… Read More
jQuery Selectors: allow us to select and manipulate HTML element(s). It is used to select HTML elements such as ids, classes, types, attributes, etc using… Read More
In this article, we will learn how to loop through input elements and display their current values in jQuery. This can be done using two… Read More
In this article, we will learn to find all links with a hreflang attribute. The hreflang is an attribute that tells search engines the relationship… Read More
In this article, we will select the direct parent element of an element using jQuery. To select the direct parent element, the parent() method is… Read More
jQuery is a small and fast JavaScript library with a motto: “Write Less And Do More“. To use JQuery you can either download the jquery… Read More
In this article, we will learn to find input with an attribute name starting with a specific letter or text. This task is implemented using… Read More
In this article, we will select all the ancestor elements of an element in jQuery. To select all ancestor elements of an element, the parents()… Read More
In this article, we will select specific ancestor elements of an element in jQuery. To select the specific ancestor elements of an element, we use… Read More
In this article, we will find the width and height of an element in jQuery. To find the width and height of an element, width()… Read More