Client libs error
Hi All,
My html structure is as follows,
<html> <head> <cq:includeClientLib css="my.categories" /> </head> <body> <!--Header Files--> <!--Navigation files--> <!--Main Body Starts here--> <!--Component that uses jQuery--> $(document).load(function(){ //do something }); <!--Footer part starts here --> <footer> <cq:includeClientLib js="cq.jquery" /> <cq:includeClientLib js="my.categories" /> </footer> </body> </html>Since i am loading the jQuery clientlib at the footer the jquery in the component is not working. It says $ is not defined.
In such case is it impossible to use jQuery? Kindly let me know how i can proceed!!!
Thanks,
Jai.