js:
$(function(){
var myRows = $('table tr').click(function(){
alert('Row #' +myRows.index(this) + ' value=' + $(this).children('td').text());
});
});
html:
<table width="300" border="1" cellspacing="1" cellpadding="2">
<tr>
<td width="150">0-1</td>
<td width="150">0-2</td>
</tr>
<tr>
<td>1-1</td>
<td>1-2</td>
</tr>
</table>