cdivilly

Internet Explorer Mobile and JavaScript Content Type

Posted in Uncategorized by cdivilly on December 7, 2007

Internet Explorer Mobile (at least version 6.12) will only parse JavaScript files served with a content type of ‘text/javascript’. Use other content types (e.g. ‘application/javascript‘) and IEm may silently ignore the file, and not parse it. The whole area of the ‘proper’ content type for javascript files seems to be a bit of a quagmire.

Comments Off