title: cross domain iframe communication: can't read child's src
body: <p>I have an iframe and I want to send a message from the iframe to its parent window. That's what child does</p>
  
  <pre><code>window.location += '#do_install||something';
  </code></pre>
  
  <p>That's what parent does ($ is jquery)</p>
  
  <pre><code>setTimeout('alert($("iframe#main_store_frame").attr("src"));', 5000);
  </code></pre>
  
  <p>I've tried many other ways to detect that location change but all of them fail. They all show me the initial iframe location, not a new one with '#do_install||something' added. Please let mw know what I am doing wrong. </p>