Page 1 of 1

Javascript to Simulate Mouse Click At Coordinates X,Y

Posted: Thu Mar 11, 2010 9:32 pm
by dickey
Hello All,

I would like to execute a Javascript that simulates a single mouse click at a set of coordinates X,Y.

I am not interested in determining the coordinates of a control or image clicked by a user (which is very well documented).

I would be grateful for any assistance.

Kind regards, Andrew

Re: Javascript to Simulate Mouse Click At Coordinates X,Y

Posted: Sat Mar 13, 2010 6:34 pm
by Darhazer

Re: Javascript to Simulate Mouse Click At Coordinates X,Y

Posted: Sun Mar 14, 2010 8:47 pm
by dickey
Thanks Darhazer,

That technique worked well, again thanks.

Kind regards, Andrew

Re: Javascript to Simulate Mouse Click At Coordinates X,Y

Posted: Thu Aug 05, 2010 12:23 pm
by webadmin40
JavaScript is a really powerful tool for Web design. There are many events in JavaScript to execute this functionality. some of them include mouseclick(), keypress() etc etc. There can be numerous methods to do the same but the shortest one can be by using a function in java to get the co-ordinates at a point. i hope this information is of some use.