Submit A Form With AJAX
I think this code is self-explanatory (if not, please write a comment). What’s cool about this code is the fact that it will also work when you disable JavaScript. The form will submit the form data in both cases to /controller/action.

Testing to see the AJAX Functionality
Comment by zw — June 1, 2007 @ 4:04 pm