yeah it worked fine, i use a global variable to flag whether the contorl key is being held down, i then reference this on a mouseclick event. If the user is holding down the control key i do one thing, if not i do another. thank!
Hi
i am looking for a way to detect when a user is holding down the control key (or could be another key) while they are clicking on a div element, because i want to fire a different function if they are holding down the control key compared to when they are not.
I have googled around and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.