captureEvents()方法无效
为何这里的captureEvents()方法不起作用呢???麻烦帮忙处理一下。。谢谢!~~~!!!!!!!!!!!
<html>
<script>
function reg(){
window.captureEvents(Event.CLICK);
window.onclick = page_click;
}
function page_click() {
alert('page click event detected!');
}
</script>
<body onload="reg()">
<p>click anywhere on this page.</p>
</body>
</html>