M
McKirahan
Has anyone experienced this (and found a solution)?
I have five files: a .htm that invokes four .js include files.
Only the first alert in the first include is displayed.
This only happens when I run on a client's corporate server.
I have no problems on a laptop connected to the network
or on my home PC. Any ideas? Thanks in advance.
<html>
<head>
<title>test_js.htm</title>
</head>
<body>
<script type="text/javascript" src="test_js.js"></script>
<script type="text/javascript" src="test_js.js1"></script>
<script type="text/javascript" src="test_js.js2"></script>
<script type="text/javascript" src="test_js.js3"></script>
</body>
</html>
alert("test_js.js");
alert("test_js.js1");
alert("test_js.js2");
window.onload = function() {
alert("test_js.js3");
}
I moved the includes into the head;
I took out the last include;
it still fails on one server.
I'm stumped.
If I merge them into one include it works.
I have five files: a .htm that invokes four .js include files.
Only the first alert in the first include is displayed.
This only happens when I run on a client's corporate server.
I have no problems on a laptop connected to the network
or on my home PC. Any ideas? Thanks in advance.
<html>
<head>
<title>test_js.htm</title>
</head>
<body>
<script type="text/javascript" src="test_js.js"></script>
<script type="text/javascript" src="test_js.js1"></script>
<script type="text/javascript" src="test_js.js2"></script>
<script type="text/javascript" src="test_js.js3"></script>
</body>
</html>
alert("test_js.js");
alert("test_js.js1");
alert("test_js.js2");
window.onload = function() {
alert("test_js.js3");
}
I moved the includes into the head;
I took out the last include;
it still fails on one server.
I'm stumped.
If I merge them into one include it works.