title: Form submit with geocomplete jquery geocoding doesn't POST latitude & longitude
body: <p>I am using <a href="http://ubilabs.github.com/geocomplete/" rel="nofollow">http://ubilabs.github.com/geocomplete/</a> to have a form submit latitude &amp; longitude. If I just do the trigger below it works and fills up lat &amp; lng fields. However, when I add the submit jquery code, it submits blank fields. I know its some timing thing since I can see the fields fill up but not sent via POST. But I can't figure it out, any suggestions?</p>
  
  <pre><code>&lt;script&gt;
    $(document).ready(function(){
    // Area for any jQuery
      $("#geocomplete").geocomplete({
        details: "form",
        types: ["geocode", "establishment"]
      });
  
      $("#geoform").submit(function() {
        $("#geocomplete").trigger("geocode");
        alert('Handler for .submit() called.');
        return true;
      });
    });
  &lt;/script&gt;
  
  
  &lt;form id="geoform" method=post action="/foo.php"&gt;
    &lt;input id="geocomplete" type="text" placeholder="Type in an address" value="Empire State Bldg" /&gt;
    &lt;!--&lt;input id="find" type="button" value="find" /&gt;--&gt;
    &lt;input type="submit" value="Go" /&gt;
  
    &lt;fieldset&gt;
      &lt;input name="lat" type="text" value=""&gt;
      &lt;input name="lng" type="text" value=""&gt;
      &lt;input name="query" type="hidden" value="true"&gt;
    &lt;/fieldset&gt;
  &lt;/form&gt;
  </code></pre>