jQuery Functionality – Common jQuery Functions

jQuery is a rich library and a very lightweight framework to provide javascript enhanced and modified functionality to our web page. jQuery is a javascript library and written in core javascript concepts. jQuery functionality is basically an easier version of javascript and a simple way to manipulate the DOM in the same way as Java Script does.
This is so popular because it has the number of functions events, chaining properties and they make it convenient as well as easy to use.  The jQuery Functionality provides rapid and smooth actions to perform actions on HTML DOM events.
There are few events and functions which are used frequently in addition to jQuery functionality. We are going to list them here with a one-line explanation. These explanations are very useful when you are explaining jQuery Functionality.
jQuery is a very rich library and has a number of functions. These functions provide a next-gen experience to jQuery functionality.
Find the jQuery functionality of a few popular library methods.
Must Read: What is jQuery?

Find some beautiful functions and their explanations in one line:

show(): display a hidden dom, set a style property display as Block.
hide(): Hide the selector from dom tree, visible on the browser.
animate(): Apply animation effects with selectors.
empty(): Empty the dom and also removes the child elements.
remove(): remove selector dom from tree
removeClass():remove class or classes from selectors
addClass():add class or classes to the selectors
toggleClass():add and remove simultaneously
stop():stop the propagation of event.
fadeIn():hide dom with a fading down effect.
fadeOut():display dom with a fading out effect.
val():get the value of form elements.
text():get the text in dom.
html():get the HTML in dom.
child(): find the child elements in dom.
parent(): find the immediate parent elements of the dom.
parents(): find the parents of the parent of the selector in the dome tree.
siblings(): find the parallel elements in the dom tree.
slideDown(): display the dom with sliding to downwards effect.
slideUp():hide the dome with sliding to up effect.
attr(): get the attribute of DOM.
append(): add the given object to the selector one after one, in a stack style. The object is added as the last child always.
prepend(): add the given object to the selector, but the object is added as the first child always.
after(): add an object just after the selector.
before(): add and object just before the selector.
css(): add some inline css-properties to the selector.
first(): get the first element in the child.
last(): get the last element in the child.
eq(): find the object of equal index passed to it.
noConflict(): avoid conflicts with other javascript frameworks using $ as shortcut symbol.


I Hope these functions will help you in the jquery excercise and application development. They will be helpful to answer your jQuery interview questions. We have added a few of the important functions and these are not the all jQuery functionality. You have to prefer the reference of jQuery to know more about the functions and events. Please share your feedback to improve our articles.
Spread the love

2 thoughts on “jQuery Functionality – Common jQuery Functions”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.