Resposta do jquery Ajax “indefinida” com o Internet Explorer
Eu tenho uma situação com solicitações ajax jquery.
<script type="text/javascript">
$(document).ready(function() {
$.ajax({
type: "POST",
async: false,
cache: false,
url: "/ajax/script.php",
data: { display: 'user', user_id: '1'}
}).done(function( msg ) {
if (msg !== "") {
alert(msg);
}
});
});
</script>
Com o Chrome & Firefox eu tenho código html gerar pelo script/ajax/script.php
Com o IE8 (eu não tentei com 6, 7 e 9 +) eu tenhoUndefined
Alguém sabe como consertar isso?
Editar: Estou usando o jquery 1.7.2