Frameworks wie diese Bibliotheken im allgemeinen sind dafür gedacht, dass man sie für die unterschiedlichsten Anwendungseinsätze wiederverwenden kann. jQuery ist eines dieser Frameworks.
jQuery is a new type of Javascript library. It is not a huge, bloated framework promising the best in AJAX - nor is it just a set of needlessly complex enhancements - jQuery is designed to change the way that you write Javascript. What is jQuery?