$.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() {
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
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
3 matches
Mail list logo