Easiest way will be to use jQuery and do an ajax call and use the "complete" event to examine the status that is returned, or if you're only interested in success or failure then use the relevant events for that
jQuery.ajax() | jQuery API Documentation[
^]
If you google how to post a form with jquery ajax you should find examples of how to read the form variables and post them.