httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Doumani" <>
Subject Re: [users@httpd] REPOST: Javascript includes not being parsed.
Date Thu, 04 Mar 2004 22:04:39 GMT
Hello Owen,

I have not by any means given up. I simple went off to review the scripts
and architecture to determine the cause of the problem I knew that the
scripts themselves were valid since they worked without error when hardcoded
in the HTML file.

It turns out that it had nothing to do with the use of the LANGUAGE
attribute, although I am grateful to you and Nick for pointing out the
valid, non-deprecated syntax.

The problem was one of imbedded <script></script> tags. There was an
occurrence of these tags in the .js file that, once removed enabled the
scripts to work. A simple fix that I admittedly overlooked.

I do appreciate all the time and effort that you, Nick, and Henry have given



----- Original Message ----- 
From: "Boyle Owen" <>
To: <>
Sent: Thursday, March 04, 2004 5:15 AM
Subject: RE: [users@httpd] REPOST: Javascript includes not being parsed.

> -----Original Message-----
> From: John Doumani []
> Thank you all for your time and consideration. I do not wish
> to bother you further with this issue.
> Off Fishing...
> John

Heck, don't give up that easy! It's just getting interesting... When you
get back from your fishing, consider:

- It works with the JS hardcoded into the <script> tag, so your browser
has JS enabled.
- It definitely requests the .js file so the browser is parsing the
<script> tag.
- Apache delivers the .js file (you get 200 in the access_log).

So the browser is refusing to execute the code. This must be because it
doesn't recognise it as JS. Ideas:

- As Nick mentioned, the use of "language" as an attribute to <script>
is now deprecated. I'd be surprised if your browser is so up-to-date and
strict that it's already barfing on this, but you might try using the
preferred attribute type="text/javascript" on its own.
- Check the mime-type for files of extension .js - it should be
- Have you any other browsers you can try this on?

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.

Diese E-mail ist eine private und persönliche Kommunikation. Sie hat
keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This
e-mail is of a private and personal nature. It is not related to the
exchange or business activities of the SWX Group. Le présent e-mail est
un message privé et personnel, sans rapport avec l'activité boursière du
Groupe SWX.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message