I have a strange problem with jQuery ajax function in my script.
my problem only happen on my friend computer but i don't suffer from any thing on my computer.
I tried to make error function property alert error contents but something strange happened
$.ajax({
url : EXECUTION_URL + 'ajax/users.php',
type : 'POST',
error : function( err1, err2, err3 ) {
alert(err2 + ' : ' + err3 + ' , ' + err1.responseText);
},
data : {
'value' : 'val',
'type' : 'email'
},
success : function( data, statusText, xhr ) {
alert(data)
},
});
the important line is : alert(err2 + ' : ' + err3 + ' , '+ err1.responseText)
but it fire only : 'error: , ' .
why this happen ? and how i can know the error of sending this request