Good, I have a POST sending through Ajax and while I am loading the div I write a waiting phrase, however I want to upload it for an image (a gif if possible).
What would be the easiest way to do it? Thanks
$.ajax({
data: {lat:lat,long:long,termidventa:termidventa,termidservicio:termidservicio, termname:termname, pventa:pventa, postventa:postventa},
url: '/wp-content/themes/starkers-html5-master/mostrar_paises.php',
type: 'post',
beforeSend: function () {
$("#caja21").html("Procesando, espere por favor...");
},
success: function (response) {
$("#caja21").html(response);
}
});