In an online application I am working on, several users have been having problems using the app correctly. It seems that not all external javascript files are loaded and thus some of the app functionality is lost. i have been unable to recreate this bug on my own computer, even while running the same software (firefox 2 and vista) as others who have had the bug.
the number of files that load randomly changes each time, so that sometimes the user gets all functionality, and sometimes barely any.
This is how I’m including Javascript:
[CODE]<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”>
<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″/>
<meta http-equiv=”Content-Language” content=”en-us”>
<link rel=”shortcut icon” href=”images/zIcon.gif”>
<link rel=”stylesheet” type=”text/css” href=”zooplaHome.css” />
<script type=”text/javascript” src=”fileBrowser/shahEncrypt.js”></script>
<script type=”text/javascript” src=”fileBrowser/browserUtils.js”> </script>
<script type=”text/javascript” src=”fileBrowser/tooltip.js”> </script> <!– Tooltip library for helpful messages on action link mouseovers–>
<script type=”text/javascript”> INTERNAL JAVASCRIPT CODES HERE … </script>
Once one of the files doesn’t load, it seems every file that should be loaded after it doesn’t load either. For example, if in this case browserUtils fails to load, then so will tooltip.
this is a very weird bug, and I have been stuck on it for several days. any ideas? are my loading the files wrong?