title: jQuery: How to modify form field before submit
body: <p>But without the ugly effect that the new value is displayed in the the form.</p>
  
  <p>if i do:</p>
  
  <pre><code>$('#submit_button').click(function(){
     $('#field1').val('newval'); 
     $('#form1').submit(); });
  </code></pre>
  
  <p>The #field1 will display (for a split second) the new value which is kind of ugly..</p>