This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
If you are using the standard "$" notation for jQuery, there is a problem because "$" has a special meaning to the EL processor. Use the "jQuery()" form, instead.
You didn't say what "not working" really means, though. If the above solution is not enough, check to see if ADF is pulling in a conflicting version of jQuery undercover. A lot of the AJAX-supporting extension taglibraries use jQuery internally.
An IDE is no substitute for an Intelligent Developer.