sreenath205
May 30th, 2005, 06:26 AM
Hi
I have a button whose onmouseenter event calls a function say "foo",in foo
i need to check whether the left mouse button is pressed or not?
<html>
<script>
function foo(){
alert("came")
//How to check here whether the Left button is clicked??:eek:
}
</script>
<body>
<input type=button onmouseenter="foo()">
</body>
</html>
Thanks
Sreenath
I have a button whose onmouseenter event calls a function say "foo",in foo
i need to check whether the left mouse button is pressed or not?
<html>
<script>
function foo(){
alert("came")
//How to check here whether the Left button is clicked??:eek:
}
</script>
<body>
<input type=button onmouseenter="foo()">
</body>
</html>
Thanks
Sreenath