Sometimes we don't know which CSS class is applied to Html element. In this tutorial we will learn how to get the class name using Jquery. If element contain multiple classes it will return each class name.
Most of the time we deal with events through Jquery functions. As the names imply, Jquery .bind() is used to simply attach a handler to an event for the elements. So let start with different examples of Jquery .bind() function.
This Jquery tutorial will help you understand the concept of .index() method along with demo example. Some times we need to find out the index of selected element, clicked element or selected option then this index() function will help you.