views:

28

answers:

2

What do I put in my onkeydown to move the mouse to a specified [x,y]?

+2  A: 

nothing. you don't get to control the mouse from javascript.

however, you may be able to simulate the action you're looking for.

http://stackoverflow.com/questions/2890921/simulating-click-with-javascript-on-document

lincolnk
A: 

Seriously? You want to move my mouse pointer without my permission? Get real! You can imagine how such capabilities could be used for malicious purposes.

Josh Stodola