title: Changing font size inside iframe
body: <p>I have iFrame like this:</p>
  
  <pre><code>&lt;iframe id="iFrame" name="iframe" src=""&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>Source is entered through url. I need to change the text size of content inside this iFrame. Both iFrame and the source url are on same domain. I tried this:</p>
  
  <pre><code>function setFontSize(fontsize) {
      $('iFrame').contents().css('font-size', '5px');
      alert("i am here");
  }
  
  and this
  
  
  function setFontSize(fontsize) {
      $("#iFrame").css("font-size","5px");
  }
  </code></pre>
  
  <p>both seem to not work.</p>