title: enable iframe's design mode
body: <p>i have an iframe and in javascript i enable the design mode as follows</p>
  
  <pre><code>iframe.contentDocument.designMode="on";
  </code></pre>
  
  <p>which works fine if i create my iframe inline. but if i load my iframe with a "src" attribute in my parent page and i turn on the design mode as follows:</p>
  
  <pre><code>iframes=document.getElementsByTagName('iframe');
  for(iframe in iframes)
  {
  iframes[iframe].contentDocument.designMode="on";
  }
  </code></pre>
  
  <p>then it doesnot work. how can i enable the iframe's design mode from the container page if im loading the iframe specifying the src attribute? not inline!!
  Thanks</p>