title: jQuery and iframe designMode
body: <p>Sorry to ask this question but i'm sure some other web developers might find the solution to this question helpful as well.</p>
  
  <p>While referenecing this in jQuery</p>
  
  <pre><code>$(function(){
      // $("#iframe").designMode = 'on';
      // $("#iframe").attr("designMode", "on");
  });
  </code></pre>
  
  <p>the code does not work. I know i can easily reference the code by using javascript</p>
  
  <pre><code>iframe.document.designMode = 'on';
  </code></pre>
  
  <p>But i would prefer to be able to use JQuery.</p>