I\'m writing a plugin for TinyMCE and have a problem with detecting click events inside an iframe.
From my search I\'ve come up with this:
Loading iframe:>
I solved it by doing like this:
$('#filecontainer').load(function(){ var iframe = $('#filecontainer').contents(); iframe.find("#choose_pics").click(function(){ alert("test"); }); });