Redirect after confirmation

Redirect after confirmation

Hi,

I have two forms the will be sent with one button, it gives an alert box if the form has been sent. Was wondering, how do I redirect the user after successful submission and after showing the alert messages?
  1. <script type="text/javascript">
            $(document).ready(function () {
                $("#submit_form").click(function () {
                    $.post($("#form1").attr("action"), $("#form1").serialize(),
                      function () {
                          alert('Form 1 submitted');
                      });

                    $.post($("#form2").attr("action"), $("#form2").serialize(),
                      function () {
                        alert('Form 2 submitted');
                      });
                });           
            });
    </script>
Thanks!