Hi Aaron,
Here's a quick example, works for IE... Not sure about Netscape... Maybe
others w/ netscape expertise can chime in for that part of the equation:
<html>
<head>
<title>Untitled</title>
<script language="javascript">
function getId(theId) {
alert (document.getElementById(theId).innerHTML)
}
</script>
</head>
<body>
<table cellspacing="2" cellpadding="2" border="1">
<tr>
<td id="1" onclick="getId(this.id)">This is TD 1</td>
<td id="2" onclick="getId(this.id)">This is TD 2</td>
<td id="3" onclick="getId(this.id)">This is TD 3</td>
</tr>
<tr>
<td id="4" onclick="getId(this.id)">This is TD 4</td>
<td id="5" onclick="getId(this.id)">This is TD 5</td>
<td id="6" onclick="getId(this.id)">This is TD 6</td>
</tr>
</table>
</body>
</html>