title: document.ready function is not working inside an iframe
body: <p>In the parent page I have an iframe like this:</p>
  
  <pre><code>&lt;iframe src="facts.php" style="width:320px; height:500px; border:hidden" id="facts"&gt;  &lt;/iframe&gt;
  </code></pre>
  
  <p>And inside of that iframe I have a jQuery function like this,</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(document).ready(function(){
      $('#demo').hide();
      $('.vticker').easyTicker();
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>But this function doesn't trigger when the parent page is loaded. Can you please explain me how to solve this?</p>