| 1:00 pm on Apr 30, 2003 (gmt 0)|
Welcome to WebmasterWorld, rcsmoss!
Try removing the first / from your scr call, so that it looks like: src="jsfiles/filename.js"
The leading / tells the browser to use site relative pathing (ie, go up to the site root and work your way down). I'd guess that you are using document relative pathing (from the documents location, follow this path), which omits the leading /.
| 1:19 pm on Apr 30, 2003 (gmt 0)|
Do you have spaces in your filenames? New browsers substitute spaces for %20 before sending the requet to the server, but older browsers don't, so that is one possibility.
| 1:50 pm on Apr 30, 2003 (gmt 0)|
ShawnR's suggestion of the alert at the top of the script is a very good one - as he says, at least you'll know then if the script is being read or not.
| 2:04 pm on Apr 30, 2003 (gmt 0)|
If none of the above works, you could also try to have a look at the browsers preferences to check if JS is activated.
Edit/Preferences/Web Browser/Web Content/Active Content/check Active sripting
| 5:25 pm on Apr 30, 2003 (gmt 0)|
I have done all of the suggested options in regard to the following:
I have also tried putting the external file in the same directory as the other files, no difference.
1. Yes the files is there because it works on with a pc browser
2. Yes the file is where I think it is
3. Yes the path name is correct otherwise it would not work on a pc
4. No, the js file does not contain any html tags or comments since I just removed them as well.
Thanks for all your great suggestions, keep them coming....
[edited by: WebGuerrilla at 5:36 pm (utc) on April 30, 2003]
[edit reason] No Specifics Please [/edit]
| 5:36 pm on Apr 30, 2003 (gmt 0)|
<!-- Did you read BlobFisk's message # 4? // -->
| 8:47 am on May 1, 2003 (gmt 0)|
Finally - All is well.
Apparently when you refresh a pc browser it not only re-loads the current page but also reloads any external source files (CSS .js).
On the Mac, however, this is not the case. Refresh only re-loads the current page and not any external source files.
Turns out the problem was one of my form validation functions. I have since replaced this function with a new one and all works great on both PC and Mac.
Thanks again to all who gave their time and suggestions.