[jQuery] Selectively load js files
Hi,
I'm looking at including jQuery UI in a project I am working on, but
one of my concerns is the large size of the full file.
I was wondering if there is something easy or built in that would
allow me to load only which jQuery UI plugins/effects I need on a
particular page.
So, something like:
loadUI({"core","accordion"});
Does that make sense? And each file would be separate on the server,
so they get cached. (like individual <script> tags loaded, without
going through all that hassle)