I have a problem with jquery post, it does not show result that the ajax returns when it sent the data, I am showing a waiting message, the wait message if it shows it when the waiting message disappears, the browser window goes blank , this code is the one I'm using
var cargando = $("#load").html("Por favor espere...");
// evento ajax start
$(document).ajaxStart(function () {
cargando.show();
});
// evento ajax stop
$(document).ajaxStop(function () {
cargando.hide();
});
$.post("procesaRenovacion.vbhtml", $('#envia').serialize(),
function (data) {
$('#muestraResultado').show();
$('#muestraResultado').html(data);
});
the div where the data should appear hidden when loading the page
<div id="muestraResultado" style="display:none">Hola</div>