Revenant
Revenant

Reputation: 2984

JavaScript Clicking X & Y Coordinates

Is there any actual way to trigger a click on given X & Y coordinates? These coordinates will be in an external iframe

What I want to do is put specific buttons when these buttons will be clicked, it will trigger a click event given x & y coordinates within iframe.

I tried code here, even though it says not cancelled still no success.

Upvotes: 1

Views: 61

Answers (1)

kcollins02
kcollins02

Reputation: 81

I believe browser security restrictions would prevent this from being possible especially if the iframe is loading a different domain.

Upvotes: 3

Related Questions