title: javascript document.getElementById in other frames
body: <p>I have two frames and want to access an element in one frame from another:</p>
  
  <p>Frame 1:</p>
  
  <pre><code>&lt;div id='someId'&gt;...&lt;/div&gt;
  </code></pre>
  
  <p>Frame 2:</p>
  
  <pre><code>var div=document.getElementById('someId');
  
  div.innerHTML='something'; 
  </code></pre>
  
  <p>This is somehow not functioning in Firefox so I want to be sure, can I access an element in another frame by its ID?</p>