Answer» jQuery provides a variety of methods for doing various tasks, such as manipulating the DOM, events, and ajax. The table below covers many technique categories.
| Essential Methods | Characterization | Classification |
|---|
| after(), append(), attr(), before(), etc. | These methods alter DOM elements in some way, such as modifying attributes, style attributes, adding and deleting elements, and so on. | DOM Manipulation |
|---|
| addClass(), CSS(), hasClass(), removeClass(), toggleClass(), etc. | These methods retrieve and set CSS attributes of elements. | CSS |
|---|
| attr(), html(), HTMLremoveAttr(), prop(), val(), etc. | These methods retrieve and set element DOM properties. | Attributes |
|---|
| bind(), blur(), change(), click(), focus(), keyup(), keydown(), etc. | These methods deal with DOM or JavaScript events. | Events |
|---|
| animate(), fadeIn(), fadeOut(), hide(), show(), stop(), etc. | These techniques are used to provide elements of animation. | Effects |
|---|
| get(), getJson(), post(), load(), etc. | These techniques provide Ajax functionality with jQuery. | AJAX |
|---|
children(), closest(), each(), first(), next(), filter(),
parent(), siblings(), etc.
| These methods assist in traversing from one DOM element to another in a parent-child hierarchy, such as locating ancestors, descendants, or sister elements of a specific element. | Traversing |
|---|
| blur(), change(), val(), submit(), etc. | Forms and their many components are handled by these methods and event handlers. | Forms |
|---|
| inArray(), isArray(), isFunction(), isNumeric(), isWindow(), isXmlDoc(), etc. | Utility methods are useful for obtaining information about various objects, such as a browser, function, array, or window. | Utilities |
|---|
|