Hi All,

We 've 20 promotional websites and we want to centralize the contact us form.
We have contact us form that is kept in Server 2 and all the other web sites kept in server 1, now i need to include the contactus form server1 inside server 2 websites.
For this i am using PHP Curl function to include the cross domain file (contact us Form).
Now the problem is when i submit the form i want to call a ajax function to save the details in DB and to send mails, but ajax function is not getting triggred in the form.

I want to know if we can call the ajax function on submmit? or are there any other method to call file (or Include a file) from different SERVER(or domain) than using CURL?

Thanks and Regards,
Deepak