title: iframe onload event
body: <p>I've a simple piece of code:</p>
  
  <pre><code>&lt;script&gt;
  function change(){document.getElementById("browse").src = document.getElementById("addr").value;}
  function update(){document.getElementById("addr").value = document.getElementById("browse").src;}
  &lt;script&gt;
  &lt;input type="text" id="addr"&gt;&lt;input type="button" value="Go" onclick="change();"&gt;
  &lt;iframe id="browse" style="width:100%;height:100%" onload="update();"&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>update(); is not called when e.g. link inside the iframe was clicked and new page loaded.</p>
  
  <p>What's the problem? </p>