So currently I have a form like this:
Maybe you can use the jQuery Form Plugin. The code will be something like it:
<script type="text/javascript"> $(document).ready(function() { $('#form_upload').ajaxForm(function() { alert("Thank you for your upload!"); }); }); </script>