jQuery Tutorials

jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.

Add active class to Li on click jquery.

Overview: Adding a class to List tag  .i.e  li element on click.This article explains how to add class to Li or any HTML tag using jQuery. The most common scenario is to add a class when […]

How to get current url Jquery vanilla Javascript

Overview: Get current web page URL in jQuery and javascript. This is most common think while developing websites where we need to fetch page URL for performing further function i.e get pathname, hostname, query string […]

How to Remove Table Row tr in jQuery on Button Click

 jQuery delete table row click: This article explains how to remove selected table row .i.e how to delete table row by id or class-name on button click event in jQuery. On button click, we remove […]

How to remove next row tr from table in jquery

 jQuery remove tr: This article explains how to delete tables next row .i.e how to remove or delete next row / tr from a table on a button click in jquery. For selecting next element we […]

JQuery: How to Validate Checkbox whether the Checkbox is Checked or Unchecked

 jquery checkbox is checked or unchecked: This article explains how to get the checkbox checked status, or validate whether the checkbox is checked or unchecked in jQuery. In other words, how to test the state of checkbox i.e. […]

jQuery Change Button Text Value Dynamically.

Button text changed dynamically: This article explains how on button click we can change text value of that clicked button  .i.e dynamic button text value gets changed. For example, when we have buttons like For […]

How to check a class exists on page or on html element.

 jQuery .hasClass() : This article explains how to Check whether an element has particular class. i.e how to find div contains certain class name exists. In below sample code will show you how to get all […]

How to get classname of selected element in jquery

 jQuery .attr(): This article explain how to get class name or Fetch class name of element i.e Div, UL, li or any other HTML tag. You can also check my previous post on Learn jQuery, […]

jQuery : Disable Button, Div, Anchor tag

jQuery disable button: This article explains how to make any button tag, anchor tag or div tag disable or non-clickable. There are many cases when based on some condition and after performing  some action, we need […]

How to remove previous row tr from table in jquery

Overview: Remove previous row tr from the table or Delete previous table row on click in jquery. This article explains how to remove the previous row .i.e  delete previous table row. For selecting previous element […]