getElementID dont work on chrome
<p>I have a code like this:  </p>

<pre><code>parent.document.getElementById("test").value ="1";
</code></pre>

<p>but it doesnt work on chrome. The error is:</p>

<blockquote>
  <p>"Uncaught TypeError: Cannot call
  method 'getElementById' of undefined"</p>
</blockquote>

<p>any help is apreciated thanks in advance! :)</p>
