What is it?
Different browsers implement the Ajax API differently. Typically this meant that developers would have to account for all the different browsers to ensure that Ajax would work universally.
Thank you Jquery, for making our lives easier!
$.ajax({ type:"POST", url:"some.php", data:{name:"Jon Snow" location:"The wall"}, datatype:"json", success:function(data){ *do something with the data* }, error:function(xhr, status, errorThrown){ *handle the error* }, complete: function(xhr, status){ *do something irresprective* } });
Live demo on ischool accounts!