This question may be related to a resolved thread.
Hi, I think that there may be a bug in EE, as I’m having the same issue on an install I’m working on.
Suppose I place the code for jQuery 1.6.2 into a template and set its type to “javascript”. Somehow when output using a standard javascript tag the Web Inspector will throw an error saying it can’t find the jQuery object, and thus, borks all of the javascript that depends on it.
This issue is fixed (in that the javascript still executes) by setting the template to “static”, but it will still throw the warning: “Resource interpreted as Script but transferred with MIME type text/html”.
I’d love to help track down this issue by setting up a test environment duplicating the bug.