Forum Moderators: open
Not sure if i have fully understood your requirement, but does the following code do what you are requesting? If not i'll try to answer the requiremnet with some more details...
<html>
<head>
</head>
<body>
<table>
<tr id="row1">
<td id="1.1" onclick="alert(document.getElementById('row1').id)">1.1</td>
<td id="1.2" onclick="alert(document.getElementById('row1').id)">1.2</td>
</tr>
<tr id="row2">
<td id="2.1" onclick="alert(document.getElementById('row2').id)">2.1</td>
<td id="2.2" onclick="alert(document.getElementById('row2').id)">2.2</td>
</tr>
</table>
</body>
</html>
-george