Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | JavaScript | Bugs | Q1084 [ previous next ]

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

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


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.