title: Calling Javascript function in child iframe node
body: <p>How can I call a javaScript function present in a child <code>&lt;iframe&gt;</code> node from the parent? I am using jquery selector to select the correct iframe node but do not know how to call the function. Also the desired iframe has been added dynamically using jquery.</p>
  
  <p>For example, the iframe is</p>
  
  <pre><code>&lt;iframe id="frameOne" src="http://form_one.html"&gt;&lt;iframe&gt;
  </code></pre>
  
  <p>I need to do something like this </p>
  
  <pre><code>$(#frameOne).submitList();
  </code></pre>
  
  <p>where <code>submitList()</code> is a function in form_one.html.</p>
  
  <p>Thanks.</p>