title: jQuery submit function on struts 1.x form
body: <p>jQuery submit relies on the form having an id. With a struts <code>html:form</code> you cannot define the id, only a name.</p>
  
  <pre><code>$('form[name="uploadForm"]').submit(function() { 
       alert("submitting");
       // $('form[name="uploadForm"]').ajaxSubmit();
       return false; 
  });
  </code></pre>
  
  <p>I've tried this, but the alert never shows up. Any ideas? The eventuality is to use the <code>ajaxSubmit</code> for a true AJAX form submit. But I'm just testing at the moment.</p>