V
vijay21
hi all,
This is about javascript window events. I have a simple html file like
this
<html>
<head>
</head>
<body onmousedown="alert()">
<form>
<input type="text">
</form>
</body>
</html>
But alert is only popped whenever I click the mouse near by the input
field. It is not catching the event for the entire browser window. Can
anyone point out what is wrong in this html?
Thanks,
Vijay
This is about javascript window events. I have a simple html file like
this
<html>
<head>
</head>
<body onmousedown="alert()">
<form>
<input type="text">
</form>
</body>
</html>
But alert is only popped whenever I click the mouse near by the input
field. It is not catching the event for the entire browser window. Can
anyone point out what is wrong in this html?
Thanks,
Vijay