jQuery addClass with HTML Table, Button, Links and List

jQuery addClass button

Purpose of addClass method The jQuery addClass method is used to add class(es) to specified HTML elements. You may add one or more classes in a single call. If matched elements are more than one, the addClass method will add the given class(es) to all matched elements. For example, if you specified “div” as a … Read more

jQuery Alerts

jQuery alert confirm buttons

The jQuery is a JavaScript library so you can use simple JavaScript alerts while using jQuery in your web projects.

AJAX post method of jQuery to Load Data in HTML div and table example

jQuery post HTML table

Purpose of jQuery $.post method The $.post method is a shorthand of $.ajax method which is used to load data by an HTTP request. The $.post method is simpler to use where the data source is specified as follows: $.post( url [, data_to_send ] [, success ] [, dataType ] ) In the url parameter, … Read more

jQuery $.each Method

jquery each

The $.each method of jQuery makes it quite easier to iterate through different collection types in DOM.

jQuery $.toggle Method

jquery toggle easing

The toggle method of jQuery hides specified visible elements and display the hidden elements. See examples to learn in this tutorial.

jQuery $.on Method

jquery onclick change mouseleave

The jQuery $.on method In a simple definition, you can say the $.on method is a longer version of event methods like click, dbclick, change, hover, keyUp, keyDown, and others. The jQuery allows you to use the shorthand of events like click event and other events. However, the .on method not only allows you to use … Read more

jQuery $.click Method

jquery click animation

A comprehensive guide about using jQuery click event and function with easy examples including div, buttons, form elements and others