title: Calling a jQuery script on the parent page when clicking on a button in an iframe
body: <p>I have a page that contains a dynamically loaded <code>&lt;iframe&gt;</code>. This iframe contains a <code>&lt;form&gt;</code>.
  When the user <strong>submits</strong> the <code>&lt;form&gt;</code>, a new page is loaded within the <code>&lt;iframe&gt;</code> saying <strong>Thanks</strong>.</p>
  
  <p>Instead of using a second page, i want the parent page to show the <strong>Thanks</strong> message.</p>
  
  <p>So basically i am in my <code>&lt;iframe&gt;</code>, and i want to call a function on the parent frame.</p>
  
  <p>How can i do that ?</p>