title: Iframe inside a rails app executing javascript
body: <p>Trying to make iframe work in the rails 3.2 app. I have a page with two columns. On left I have applications and on the right I have resume. when user click resume button on left. The iframe on the left gets loaded with the resume page which comes from a different controller and action. Now the resume page in i frame uses JS for navigation (like sliding to employment, education etc part) That Javascript is not working. When resume page is viewed on its own webpage , everything works fine. But inside iframe JS is not working.</p>
  
  <p>Code is as follows,
  Inside Main page</p>
  
  <pre><code>&lt;iframe id="open_here" name="open_here"&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>resume button on the left side</p>
  
  <pre><code>&lt;%= link_to "test", {:controller =&gt; 'applicants',  :action =&gt; 'applicantresume'}, {:target =&gt; "open_here"} %&gt;
  </code></pre>
  
  <p>Is there anything I am missing.</p>