title: Execute a Javascript Function Upon Submitting a Spring Form
body: <p>I have a JS function that I want to run (call an asynchronous JMS queue function) upon submitting.</p>
  
  <p>Can someone point me to an example of how to do that from inside a Spring form?  I know how to do a <code>$(document).ready(function()</code>, but I only want to do this when POSTing a form submission.</p>