What should I use in the html and in the jquery if I want upon form submit to (a) execute a certain php file (url-a); (b) redirect to another one.(url-b)
I currently implemented the jquery form plugin. http://jquery.malsup.com/form/#getting-started
Like so:
step a. included jquery and form plugin scripts;
step b. in html, in the form element:
      <form action="url-a.php">
          <!--form code inserted here including input elements, etc and submit-->
      </form>
step c. in js, inside document ready:
      $('#form').ajaxForm(function() { 
           $.post("url-a.php", {a: a, b: b});
      }); 
Should one of these url links be changed? assume that url-a is the one the ajax should take care of, and I want to redirect to url-b..
Thank you!
 
     
     
     
    