Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q1084 Browser shows the source of the *.js source file

You are here: irt.org | FAQ | JavaScript | Bugs | Q1084 [ previous next ]

Symptom: The contents of the .js file is shown instead of executed

Affects: Any browser supporting .js However there is a known bug with Netscape 3 and LANGUAGE="JavaScript1.2" and SRC=...

Reason: The server has not been setup to correctly serve *.js source files.

Workaround: The server must map the .js suffix to the MIME type "application/x-JavaScript". See the *.js fileFAQ

©2018 Martin Webb