title: jquery, submit form when field loses focus
body: <p>How can I submit a form when a field (In this case the form only has one field) loses focus?</p>
  
  <p>I tried this, but it's not working:</p>
  
  <pre><code>$("form").submit();
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I forgot to mention that the form was created with jquery as well:</p>
  
  <pre><code>$("div").html('&lt;form action="javascript:void(0)" style="display:inline;"&gt;&lt;input type="text" value="' + oldValue + '"&gt;&lt;/form&gt;');
  </code></pre>
  
  <p>This is probably why it won't submit, I think it's because the events aren't being observed.</p>