[jQuery] Two ajax call on the same page - problem with response

2009-05-08 Thread alex.zeta
Hi, before posting my code, I'll try to explain the problem: i have two ajax calls on a single form, and have problems with responses from server. This is the situation: ajax1 = calls the php script that sends the email - and the script returns "OK" in case of success; ajax2 = binded to a link (

[jQuery] Two ajax call on the same page - problem with response

2009-05-08 Thread alex.zeta
Hi, before posting my code, I'll try to explain the problem: i have two ajax calls on a single form, and have problems with responses from server. This is the situation: ajax1 = calls the php script that sends the email - and the script returns "OK" in case of success; ajax2 = binded to a link (