Código Javascript:
Ver original
function notificaReporte(){ capa = document.getElementById('notifRep'); ajax=ajaxFunction(); ajax.open("POST", "includes/reporteAlumno.php",true); capa.innerHTML = ""; ajax.onreadystatechange=function() { if (ajax.readyState==4) { capa.innerHTML = ajax.responseText; } if(capa.innerHTML != 0){ $('#notifRep').fadeIn('slow'); } } ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); ajax.send(); }
Espero puedan ayudarme. Saludos.