A
andy.hume
Hello,
Is there any cross-browser method of determining whether a click event
was triggered by a mouse left click or the keyboard's 'enter' key? I
was expecting event.button, or event.which to be able to do this, but
this doesn't seem to be the case. Checking event.clientX == 0 &&
event.clientY == 0 works in FF, but not in IE.
Anything else I can try?
Cheers,
Andy.
Is there any cross-browser method of determining whether a click event
was triggered by a mouse left click or the keyboard's 'enter' key? I
was expecting event.button, or event.which to be able to do this, but
this doesn't seem to be the case. Checking event.clientX == 0 &&
event.clientY == 0 works in FF, but not in IE.
Anything else I can try?
Cheers,
Andy.