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.

How to get classname of selected element in jquery

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, where have explained how to add click event on dynamically added element, and how to preview image before upload on server. […]


by - Satinder singh

jQuery : Disable Button, Div, Anchor tag

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 to make HTML button or input tag as disable or to remove it from the web page. And if you […]


by - Satinder singh

How to remove previous row tr from table  in  jquery

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 we use .prev() and with .remove() method it delete that selected element. Description : .prev( [selector ] )   , .remove() […]


by - Satinder singh

How to Get Selected Radio Button Value in jQuery

How to Get Selected Radio Button Value in jQuery

 jquery get radio button value: This article explains how to check whether the radio button is checked or unchecked or getting the selected radio button value. In this post will explain how to check status of radio button i.e. whether radio button is checked or unchecked in jQuery. Here we use .is() method and matched checked attribute. […]


by - Satinder singh

Checkbox get and set values in jquery

Checkbox get and set values in jquery

Overview: Get selected checkbox values Jquery. This post explain how to get all the ids of selected checkbox and stored it in a array variable.   First we use $.each() which loop over all checkboxes , then we use $.is(“:checked”) which returns boolean value i.e whether its checked or unchecked.  If its checked .i.e return “true” […]


by - Satinder singh

1 2 3 4