Sep 25th, 2000, 12:39 PM
Hi there, I have a very puzzling question:
I need to be able to identify which cell of a table has been clicked once the mouse is hovering on the table.
Here's what the codes should look like:
<table id="mytable" border="1" cellspacing="1" width="100">
<tr>
<td> id="A1" width="50"</td>
<td> id="A2" width="50"</td>
</tr>
<td> id="A3" width="50"</td>
<td> id="A4" width="50"</td>
</table>
<script language=vbscript>
sub mytable_onMouseOver()
sub mytable_onClick()
{find out which cell id is clicked}
end sub
end sub
</script>
....Hope I've been clear enough......If you have any suggestion please forward it, it will be very much appreciated. Thanks
I need to be able to identify which cell of a table has been clicked once the mouse is hovering on the table.
Here's what the codes should look like:
<table id="mytable" border="1" cellspacing="1" width="100">
<tr>
<td> id="A1" width="50"</td>
<td> id="A2" width="50"</td>
</tr>
<td> id="A3" width="50"</td>
<td> id="A4" width="50"</td>
</table>
<script language=vbscript>
sub mytable_onMouseOver()
sub mytable_onClick()
{find out which cell id is clicked}
end sub
end sub
</script>
....Hope I've been clear enough......If you have any suggestion please forward it, it will be very much appreciated. Thanks