title: How to update an iFrame in Visualforce
body: <p>I have an iFrame that is similar to the following:</p>
  
  <pre><code>&lt;apex:iframe src="http://www.salesforce.com" scrolling="true" height="600" width="100%" id="docframe"/&gt; 
  </code></pre>
  
  <p>I would like to use a link on the parent page (that contains the iFrame) to update the content of the iFrame.</p>
  
  <p>I tried using code similar to whats presented in the iFrame Target example on here: <a href="http://www.w3schools.com/html/html_iframe.asp" rel="nofollow">http://www.w3schools.com/html/html_iframe.asp</a> but on my browser (Firefox) it opens a new tab. Even when I copy and paste the example from the preceding link into my visualForce page it insists on opening a new tab in my browser.</p>
  
  <p>Any idea on what I may want to try to get this to work?</p>