Is it possible to programmatically fire mouse events in DOM? My sample case would be the following:
<html>
<body>
<iframe style="width: 500px; height: 500px;" src="something.html"></iframe>
<div id="layer" style="position: absolute; left: 0px; top=0px; width=500px; height=500px;"></div>
</body>
</html>
Whenever the user clicks the div
over an iframe
, I would like to somehow propagate the event to the iframe
, too. (Here we assume that the iframe src
is in the same domain.)