When I throw the following at Moz 0.9.3 I get the JS error shown below it:
---SNIP---
function Constructor()
{
gAllPhotos = new Array();
initializeList( gAllPhotos );
for ( index = 0; index < gAllPhotos.length; ++index )
{
var lNewRow = nameTable.insertRow();
//var lNewRow = document.body.children("nameTable").insertRow();
lNewRow.onmouseover = showPicture;
lNewRow.onmouseout = hidePicture;
lNewRow.pictureFrame = top.frames["photoFrame"];
lNewRow.employeeObject = gAllPhotos[index];
gAllPhotos[index].tableExchange( lNewRow );
}
}
</script>
</head>
<body class="bodyDefault" id="nameBody" onLoad="Constructor()">
<br>
<table id="nameTable" class="tableChart">
<thead>
<tr>
<td onclick="resortList('First');">First Name</td>
<td onclick="resortList('Last');">Last Name</td>
<td onclick="resortList('Phone');">Phone Number</td>
</tr>
</thead>
<tbody>
</tbody>
</table>
---SNIP---
Error: nameTable is not defined
Source File: http://<my IP>/blaa/Pages/nameFrame.asp
Line: 91
I also tried the commented line and it died there too. Anyone have any
ideas? Thanks in advance....
Todd