If you are going to do this, the best JS lib to use would be Yahoos YUI.
This is the official Moodle JS lib for AJAX and DHTML.
Its a shame that they picked Yahoo YUI as I think there are better libs out there (e.g. Mochikit or as you suggest JQuery).
Repositories
Modification on module moodle/files
This discussion has been locked so you can no longer reply to it.