I have a JS function that I want to run (call an asynchronous JMS queue function) upon submitting.
Can someone point me to an example of how to do that from inside a Spring form? I know how to do a $(document).ready(function(), but I only want to do this when POSTing a form submission.