OK, what am I doing wrong here? I'm trying to have the left button / right button event captured:
Thanks,
- MT
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"[URL unfurl="true"]http://www.w3.org/TR/html4/loose.dtd">[/URL]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
BLAH BLAH BLAH
<SCRIPT>
function doThis(e) {
alert (e.button);
}
document.captureEvents(Event.CLICK);
</SCRIPT>
<a href="#" onMouseDown="doThis(this);">Thingy</a>
</body>
</html>
Thanks,
- MT