バインディングを JQuery で動作させるのに問題があります。
<iframe id="wufooFormz7x3k1" height="281" allowtransparency="true" frameborder="0" scrolling="no" style="width:100%;border:none" src="http://foo111.com"></iframe>
<script>
jQuery('#wufooFormz7x3k1').ready(function()
{
jQuery('#wufooFormz7x3k1').bind('onload', alert('hi1'));
jQuery('#wufooFormz7x3k1').bind('onload', function() { alert('hi2') });
});
</script>
最初のバインドはアラートを生成しますが、その後このエラーをスローし、その後の iframe のロードに対してアラートをトリガーしません (これは私が検出しようとしているものです)。
Uncaught TypeError: Cannot read property 'handler' of undefined and won't be triggered for subsequent onloads.
2 番目のバインドはまったくトリガーされません。
理想的には、iframe の onload に対してバインドして、iframe がリロードされるたびにアラートを生成できるようにすることです。