Menu
hi
im wondering about how i should do this.
i simply want to check how much time i have the mouse button hold down when i click on something.
if i clicked and released super fast, or if i clicked and holded the mouse for like 1sec ++
i want to use this to fix a problem with internet explorer.
what kind of js function would you suggest i use to measure the time?
i was thinking something like, when mousedown, start time, when mouseup check time and calculate and do proper actions
any suggestions on how to do this?