Why jQuery is needed?
The most important reason for the acceptance of jQuery is that it helps to improve the performance of the application. Another reason is that the Document Object Model's API is one and its inconsistency across browsers has been the biggest obstacle to the development of web applications nowadays. jQuery has helped us building applications better and faster by overcoming these problems. Also, jQuery has simple and cleaner code , no need to write several lines of codes to achieve complex functionality. Moreover, it is extensible – it can be extended to implement customized behaviour.