I have tried to make an AJAX upload system and it works perfectly in Chrome, however it does not work in firefox. I used the $.ajax()
function of JQuery. Do you have any suggestions whatsoever?
I have a normal form that requires a file and AJAX causes a PDF Viewer to appear, like:
$.ajax({
url: 'url.php',
method: 'POST',
data: dados,
success: function(data) {
$("#mensagem").append(data);
}
})
And I do not understand why firefox does not work.