V
Venkatesh
Hello All,
I have an iframe in my main html and within iframe, I'm loading another
HTML webpage. In my main html page, I've captured the mouse click
event, by setting the "onclick" for <body> of main page.
The code is like this:
<body onclick="handleClickEvent(event)">
....
<iframe src="embedded.html">
</iframe>
....
</body>
My problem is that the event handler is not getting called when I do
mouse clicks inside "iframe".
Is there any way to capture the mouse click event inside iframe?
Thank you,
Venkatesh
I have an iframe in my main html and within iframe, I'm loading another
HTML webpage. In my main html page, I've captured the mouse click
event, by setting the "onclick" for <body> of main page.
The code is like this:
<body onclick="handleClickEvent(event)">
....
<iframe src="embedded.html">
</iframe>
....
</body>
My problem is that the event handler is not getting called when I do
mouse clicks inside "iframe".
Is there any way to capture the mouse click event inside iframe?
Thank you,
Venkatesh