1<html> 2<head> 3<script> 4function displayAlert(element) 5{ 6 alert('You clicked '+element.nodeName); 7} 8</script> 9</head> 10<body> 11 <table style="width:100px;height:100px;border:inset"> 12 <tr> 13 <td onclick="displayAlert(this)">Content.</td> 14 </tr> 15 </table> 16 <p>Click anywhere inside the table element and you should get an alert telling you so.</p> 17 <p>Bugzilla 3662 was that clicking in non-content did not fire onclick handler.</p> 18</body> 19</html>