|
To make sure the js source worked I copied it into
the html and commented out the <script...src="" line and it worked fine.
I did a view source and it looked OK there also. I then removed the js
from the html and put in the <script...src="" line and receive the same
error as before (CheckRequirements is not defined). When I did a view
source on that html I can see the <script...src="" line but of course you
cannot see the js it copies in.
I then put js "alert" messages before and after the
<script...src="" lines and it looks like it loads it before the
<body> tag so I cannot figure out why it says that "CheckRequirements
is not defined." I also put in js "alert" messages at the beginning
and end of the CheckRequirements routine but those never shown. When I
copied the js source into the html then the alert messages in the
CheckRequirements routine shown.
I then tried using Mozilla's _javascript_
console and that did not seem to help because the error shown up in the console
way after the <body> tag.
I even tried an absolute path in place of the
relative path and that did the same. I checked again to see if the other
js routines in the same folder were working and they were.
Stumped.
If nothing else, I can always copy the js source
into all the html source that uses it. I have proven that will
work.
Thanks again.
Jeff
|
- [Easy400Group] JavaScript source not getting included ... Jeff
- Re: [Easy400Group] JavaScript source not getting ... Giovanni B. Perotti
- Re: [Easy400Group] JavaScript source not getting ... mattlavinder
- Re: [Easy400Group] JavaScript source not gett... Jeff
- Re: [Easy400Group] JavaScript source not ... Tom Jedrzejewicz
- Re: [Easy400Group] JavaScript source ... Jeff
- [Easy400Group] Re: JavaScript so... jw_westcott
