With jQuery running an animation like sliding and fading are very simple. Interface is a jQuery plugin for animation. Interface is like scriptaculous library for prototype. It can be used for handling sorting, drag and drop effect and other complex effects.
Another important feature of jQuery is the ready function. For Dom scripting we have to wait till the complete Dom loads. Using the onload event handler for this purpose is a waste of time for pages having images as the event is triggered only when every element, including the images, have been loaded. jQuery provides a workaround, ie the ready function, which is called when the dom has loaded completely.
Sending and retrieving data via ajax has never been easier. jQuery provides us with a rich set of functions for managing it.
jQuery has a really simplified format for traversing the Dom. jQuery’s selector syntax is based heavily on CSS3 and XPath. Hence selecting and traversing through elements have never been simpler. Elements can be selected using id, classname, a combination of id and classname and XPath reference.
Another important feature of jQuery is method chaining. Every call of a method on a jQuery object returns the object itself. Hence to apply multiple methods to an element you can do it without typing the selector again. All you have to do is to chain the new method at the end of the previous method.