Moin!
PHP-Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<title>Beispiel</title>
<script type="text/javascript">
function blubb(){
alert('blubb');
}
function blah(e){
if(e.stopPropagation)e.stopPropagation();
else e.cancelBubble=true;
alert('blah');
}
</script>
</head>
<body>
<table border="1">
<tr onclick="blubb();">
<td>blubb</td><td onclick="blah(event);">blah</td><td>blubb</td>
</tr>
</table>
</body>
</html>
Ahoi - Pit
Lesezeichen