How do I use a jQuery plugin?
Hi,
I am totally new to JavaScript and jQuery.
I copied the source of the page
https://harvesthq.github.io/chosen/ to my jsp file, prefixed all references to chosen files in the page with "
js/chosen_v1.6.2/", and made the chosen files available as static files.
If I use the Chrome developer Tool to view errors, I get:
"Uncaught SyntaxError: Unexpected token <" for the "<" of the "<html>" tag, and
"Uncaught TypeError: $(...).chosen is not a function"
What am I doing wrong?
Thanks,
-Louise