jQuery | animated Selector with Example
The animated is an inbuilt selector in jQuery which is used to select the element that is currently animated.
Return Value: This selector returns the element which is currently animated.
Below example illustrates the animated selector in jQuery:
Before clicking on the div element (Red color):
After clicking on the div element and color of the div will change: