
Originally Posted by
RodG
Perhaps you need to define exactly what you mean by 'JQuery plugin'.
Jquery itself is simply a code library. By itself it doesn't do anything.
If by 'JQuery plugin' you are referring to any code (or module) that makes use of the JQuery function calls, then in order for them to work the JQuery library must be loaded before the calls are made (obviously). Since there could be many modules with JQuery function calls it makes sense to load the library *once* upon a page load so that it is available when/where needed.
The 'plugins' themselves should be treated the same as any other Javascript code. IOW, they can be embedded where needed, or automatically loaded on a global or per page basis as required.
Perhaps I'm misunderstand the question?
Cheers
RodG
ps. Although it is possible to load two *different* versions of the JQuery library, this is best avoided where possible as it can cause unpredictable results. (This probably goes withoiy saying though).