开发者

Find text position

Could you please help me !!!! For example, I load some page into opera/Firefox etc., there is a text on the page (which is a link). What I need is to find position of the text on the screen and send mouse 开发者_如何学Goclick to that position. Is it possible to do? If you can, give an example please!!!!


Use jquery. Examples on the site as well, for example: http://api.jquery.com/category/events/


You won't need to find the position of the link to click it. If using jQuery, the code would look something like:

$('a#id-of-link').click();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜