title: jQuery - script tag inside an iframe fails to update the iframe's content
body: <p>I have the following html:  </p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;&lt;/head&gt;
      &lt;body&gt;
          &lt;form&gt;
              &lt;input id="msg" type="text" value="oldValue" /&gt;
          &lt;/form&gt;
          &lt;script src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"&gt;&lt;/script&gt;
          &lt;script&gt;
              $().ready(function() {
                  var m = $("#msg");
                  alert(m.val()); // returns oldValue
                  m.val("newValue"); // this doesn't make the browser show newValue instead of oldValue
                  alert(m.val()); // returns newValue
                  // and in the end, the browser still shows oldValue for the input
              });
          &lt;/script&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This code runs perfect, but when placed in a facebox (which just creates an iframe and shows it like a floating window), the code fails to update the input's content.</p>
  
  <p>The parent also has jQuery, but that shouldn't influence anything I guess.</p>
  
  <p>Any ideas why it's failing?</p>