Tagged: jquery

0

select all checkbox code in jquery

sometimes we have multiple checkbox fields in form and require to select all and deselect all. Following is code to select and deselect.

0

jQuery addClass and removeClass.

addClass() and removeClass() are very useful methods from jquery. addClass() method used to add one or more css class in selected element while removeClass() is used to remove class. I used addClass() to show...

0

Jquery ajax validation using remote rule.

The remote rule can be used to validate through ajax call. Field value will be passed through data and the return value to the script that is on url. You can specify data type...

0

Change form target attribute value via jquery.

In a project I required to change form target attribute value via jquery against input value. I got input via radio button and did following code that worked for me. I used removeAttr() and...

0

How to hide and show div content in jquery?

Jquery is javascript library. It has many plugins for opensource applications as well as for static sites. This is very simple tutorial to hide and show div content. For doing code in jquery we...