I have a page with an iframe.
<div id="my_content">
<iframe id="my_iframe" src="http://mysite.com/iframe.html">
</div>
I need to intercept the click inside the iframe. I've tried with this code but it doesn't work:
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('#my_iframe').click(function(){
alert('click inside iframe');
});
});