Two thoughts ..
1 -- Have you examined the source that is actually presented to the browser for the application that is working and the one that is not. It stands to reason that you will find something in that comparison.
2 -- The path to the _javascript_ file is relative rather than absolute. Have you confirmed that it is correct for the URL that calls the application?
Take care.
On 2/3/06, Jeff <[EMAIL PROTECTED]> wrote:
That was a typo, also along with the "langauge". I checked the source and the " are in there.Thanks----- Original Message -----From: [EMAIL PROTECTED]Sent: Friday, February 03, 2006 2:15 PMSubject: Re: [Easy400Group] _javascript_ source not getting included in html
Jeff - You are missing a double quote after the .js in the src tag.
"Jeff" <[EMAIL PROTECTED] >
Sent by: [email protected]02/03/2006 12:10 PM
Please respond to
[email protected]
To<[email protected]> cc
Subject[Easy400Group] _javascript_ source not getting included in html
I have a CGIDEV2 app that I am using _javascript_ in and there is some _javascript_ that is in just about all pages so I want to take that out and put it in it's own file. I have done this with other _javascript_ and it has worked fine. My problem with this one is that is it being called by using the following:
<body >
and I keep getting an error that says it cannot find the CheckRequirements object. The following line is in the <head> tag section:
<script langauge="_javascript_" src="">
and that is where the CheckRequirements routine is.
I have checked the apache config and that looks fine. LIke I said before, it is working with other _javascript_ in the same folder and in the same html, just not this one. I have also moved the previous line to other sections but I always get the same message. I am wondering if it has something to do with the onLoad part of the <body> tag and maybe it is not loaded before the onLoad section happens.
I have even tried an absolute path to the file and that has not worked.
Thanks for any help.
Jeff
YAHOO! GROUPS LINKS
- Visit your group " Easy400Group" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service .
SPONSORED LINKS
How to format a computer hard drive Cobol programmer Iseries 400 How to format a computer How to format your computer How to format computer
YAHOO! GROUPS LINKS
- Visit your group "Easy400Group" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
Tom Jedrzejewicz
[EMAIL PROTECTED]
SPONSORED LINKS
| How to format a computer hard drive | Cobol programmer | Iseries 400 |
| How to format a computer | How to format your computer | How to format computer |
YAHOO! GROUPS LINKS
- Visit your group "Easy400Group" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
