[jQuery] Re: Creating an ajax status

2009-04-16 Thread Jordon Bedwell
$.ajax supports an option called beforeSend so it would be something like: $.ajax({ type:POST, url:some.php, data:name=Johnlocation=Boston, success:function(msg){ alert(Data Saved: +msg); } beforeSend:function() {

[jQuery] Re: Creating an ajax status

2009-04-16 Thread Donny Kurnia
Nic Hubbard wrote: I have a number of GET and POST ajax calls that do various things my script. For each one, I would like to set a status that is a string, so that I can out put that to the user. So, it might look like this: Ajax POST Posting to page Ajax GET Getting content page

[jQuery] Re: Creating an ajax status

2009-04-16 Thread Nic Hubbard
I got this working, thanks guys. On Apr 16, 10:19 am, Donny Kurnia donnykur...@gmail.com wrote: Nic Hubbard wrote: I have a number of GET and POST ajax calls that do various things my script.  For each one, I would like to set a status that is a string, so that I can out put that to the