For multiple updates with one ajax call, you might want to try sending back
a JSON response.
For example, in PHP you could do this:
'Username',
'test2' => 'Thank you for subscribing'
);
echo json_encode($response);
?>
Then, in your JS file, your ajax call would look something like this
(u
hi Mike,
Thanks very much for the reply.
In my php file that processes the form, how would I tell where each
results goes. Do I place each in a div with the same id as the
targets?
Example php file
Username
Thank you for subscribing
Thanks again for you help. Great plugin!
On Nov 19, 9:55 p
> target: '#test1 #test2', // target element(s) to be updated
Just change that to: '#test1,#test2'
The target option takes a normal jQuery selector string.
Mike
3 matches
Mail list logo