Yes, jquery works with CQ5. It is a javascript framework, fully supported by CQ5. You have have to include clientlibs (javascript ) files in your component.OOTB has jquery files, you need to add dependencies in order for it to work.Here is an article on how you can integrate jquery with your applica...