I want to detect when user clicks a link in iframe
and changes the source of iframe
, because I want to resize it. Also I use jQuery. What is the best way to detect this?
Actually I need something like this (this example is in jQuery, it does not work, I imagined this)
$('#iframe').live('load', function(){ alert('src is changed')});