|
JQuery gets included at the bottom of the page, so it isn't accessible in your plugins' template. To access JQuery:
- Make sure you have the global variable $headerlib defined.
- Add your JS with $headerlib->add_js( your js code );
You won't have the $() syntax. Use $jq() instead.
|