How do I submit a form using jquery (ajaxForm plugin) to an external site but not reload to a differ

Posted by Scott on Stack Overflow See other posts from Stack Overflow or by Scott
Published on 2009-08-12T17:28:18Z Indexed on 2010/05/14 4:14 UTC
Read the original article Hit count: 205

Filed under:
|
|
|
|

Hi,

I'm trying to create a form that sends the customer's name and email address to icontact (an email list application).

All the values are correct for icontact and if I submit the form as usual, icontact responds that it added the email address. The success message loads in a new page from icontact's website.

What I'd like to accomplish is that ajax would send the form and returns a success message within the current page, without sending the customer to a new page.

Here is the test page: http://www.skhot.com/test/js-test/forms/index.php

© Stack Overflow or respective owner

Related posts about forms

Related posts about jQuery