$.ajax({
type: "POST",
url: "{{=URL(request,f='callback')}}",
success: function(msg) {
alert( "Data Saved: " + msg );
}
});
more here: http://docs.jquery.com/Ajax/jQuery.ajax#options
Massimo
On Nov 9, 10:41 am, Michal <[EMAIL PROTECTED]> wrote:
> I need to figure out one thing. After I call ajax functions I would
> like to know when the reponse has been received to perform different
> task that depends on result returned by ajax call. What is good way to
> handle this? For now I was using setTimeout, but that's not the way to
> go.
>
> Thank you for any help.
>
> Michal
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---