Code: Select all
<HTML>
<HEAD>
<script language="JavaScript">
function OnFormClick()
{
alert(window.document.all.MyTable.rows(0).cells("id1").children);
}
</script>
</HEAD>
<body onclick="OnFormClick()">
<table id=MyTable>
<tr>
<td></td>
<td id="id1" style="display: none"><input type="button"></td>
<td id="id2" style="display: none"></td>
</tr>
</table>
</body>
</HTML>