When enhancing dynamic pages (no matter the server side language behind), jQuery is more than helpful.
Especially since there’s loads of jQuery plugins out there, saving so much time and effort.
Keeping the includes only in the markup is easier to maintain (IMHO), however might cause unneeded http requests to your scripts and css files, especially if you have a page with multiple reoccurring user controls.
This plugin will allow you to include scripts ands css files dynamically, with success and failure callbacks.
Where can you get it?
Main project page | Sample Page | Wiki | Source
What’s missing in it?
Detecting remote css files that are missing are so far only supported in IE
The plugin should scan the existing scripts / links includes as well as the data loaded by the plugin
I’d love to hear any feedback!