C'è un errore non definito dovuto alla richiesta Ajax in jQuery. Ma funziona localmente. Errore che fa riferimento a jquery1.3.2.js @ 3633 lineajQuery XMLHttpRequest error
xhr.send(s.data);
Il mio codice è:
$.ajax({
type: "POST",
url: 'index.php',
data: "action=showpath&type=images&path=&default=1",
cache: false,
dataType: "html",
success: function(data){
$('#addr').html(data);
},
error:function (xhr, ajaxOptions, thrownError){
alert(xhr.status);
alert(thrownError);
}
});
avvisi codice mostra me (0, 'undefined');
Cosa sto facendo male?
L'ho provato con firebug. C'è una risposta errata, ma il suo stato è 200 - OK. La richiesta Ajax restituisce ajaxError senza spiegazione. –
Ho trovato la stessa descrizione del problema a http://www.mail-archive.com/[email protected]/msg65106.html Ma ancora nessuna soluzione. –