I have a web form and I want to use a plugin for validation and another plugin for accordion. I can’t get them to work together. Always only the 2nd plugin works. I think the 2nd overwrites something the 1st uses.
Here are 2 samples:
http://www.mojpodstanar.com/JQUERY_PROBLEM/validation_ok.html – here validation works accordion doesn’t
http://www.mojpodstanar.com/JQUERY_PROBLEM/accordion_ok.html – here accordion works validation doesn’t
Notice in the source code that in the first case the validation plugin is added as second while in the second case the accordion. Always the last added works.
How can I make them work both?
Only include jQuery once in page, and before any of the plugins. Your assumption about “over write” is correct