If you're looking for a solution, there are various approaches you can take.
For your specific situation, the simplest option might be as follows:
Define doprocess2 in the following manner:
function doprocess2(e) {
e.stopPropagation && e.stopPropagation() || (e.cancelBubble = true);
...
}
Then, call it like this:
onclick="doprocess2(event);"
This method should function well across all modern browsers, including ie6, ie7, and ie8.
Below is a practical demonstration:
<html>
<head>
<script>
function doprocess1() { alert('tr'); }
function doprocess2(e) {
e.stopPropagation && e.stopPropagation() || (e.cancelBubble = true);
alert('td');
}
</script>
</head>
<body>
<table>
<tr onclick="doprocess1();">
<td>click tr</td>
<td><button onclick="doprocess2(event);">click td only</button></td>
</tr>
</table>
</body>
</html>