D
dennise9
My exeternal JS works fine when the call is placed in the page head or
body.
But if I call the same javascript from a (clicked) text link on the
page, the script throws a JS error when it executes.
Help! I can't figure this out.
The external JS file is "members.js". Here's the code:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<script Language="JavaScript"></script>
<table width="90%" border="0" align="center">
<tr>
<td>
<div align="center"><a href="home.htm"
target="mainFrame">home</a></div>
</td>
<td>
<div align="center"><a href="members.js"
target="mainFrame">members</a></div>
</td>
<td>
<div align="center"><a href="misc.htm"
target="mainFrame">misc</a></div>
</td>
</tr>
</table>
</body>
</html>
body.
But if I call the same javascript from a (clicked) text link on the
page, the script throws a JS error when it executes.
Help! I can't figure this out.
The external JS file is "members.js". Here's the code:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<script Language="JavaScript"></script>
<table width="90%" border="0" align="center">
<tr>
<td>
<div align="center"><a href="home.htm"
target="mainFrame">home</a></div>
</td>
<td>
<div align="center"><a href="members.js"
target="mainFrame">members</a></div>
</td>
<td>
<div align="center"><a href="misc.htm"
target="mainFrame">misc</a></div>
</td>
</tr>
</table>
</body>
</html>