This may not be strictly a VF question, but I thought I would ask all the same.
I have a VF component which contains jQuery and some plugins.
<c:myComponent jQuery="true"
jQueryUI_custom="true"
cookiesPlugin="true"
dropdownPlugin="true"/>
This is included on about 30 pages, but some of the pages include other pages also, these pages contain includes of their own. So eventually the same plugins are called several times.
Is there any way I could look for plugins or scripts and stop them from loading twice? Preferably using javascript.
Cheers