Is it possible to see a difference between mouse click and obj.click()?

Posted by aleluja on Stack Overflow See other posts from Stack Overflow or by aleluja
Published on 2010-06-10T04:47:55Z Indexed on 2010/06/10 4:52 UTC
Read the original article Hit count: 303

Filed under:
|
|

Hello,

Lets say there is a form with a submit button. I found out that using javascript i can call the click() method for input elements in Firefox which would simulate the mouse click on that element.

But then, i got this question, can you detect if button was clicked with real computer mouse, or .click() method?

Thank you

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about button