Can't get jQuery working with JSF2.1
I can't seem to figure out how to get jQuery to work with JSF2.1. Any solution I find seems to send me head first into another roadblock that I honestly don't even know which problem I'm trying to fix anymore. I've tried to get around issues involving JSF prepending, XHTML CDATA, using external javascript files, and some other failed attempts I can't even remember.
If anyone could provide me with a basic example of a JSF2.1 page with, say, a button that executes .mousedown(), I would greatly appreciate it.