title: Changing src of iframe inside iframe
body: <p>I'm getting this problem in Chrome (Running the files locally) when I try to change the src of an Iframe inside iframe, I am getting this Error Message</p>
  
  <blockquote>
    <p>Error = Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "null" from accessing a frame with origin "null". Protocols, domains, and ports must match. </p>
  </blockquote>
  
  <p>This the code that I'm using to retrieve the iframe</p>
  
  <pre><code>iframe = $("iframe").contents().find('iframe');
  iframe.attr("src", url);`
  </code></pre>
  
  <p>I don't get this issue when I upload the files to the server. But if I open them locally I get the error. </p>
  
  <p>It works good in firefox and safari.</p>
  
  <p>How can i do this in chrome and in other browser ?</p>