Sorry for my english. I get the message of "too much recursion", and i think is in the ajax, here is the code:
function procesarPdf(carpeta,idRevista,dirarchivo,paginaProcesar,nombreArchivo){
$.ajax({
type:"POST",
url:'php/procesar_pdf.php',
data:{carpeta:carpeta,revista:idRevista,archivo:dirarchivo,paginaProcesar:paginaProcesar,nombreArchivo:nombreArchivo},
async:false,
cache:false,
success: function(data) {
var datos = data;
if(datos.terminado==false){
procesarPdf(datos.carpeta,datos.idRevista,datos.archivo,datos.paginaAProcesar,datos.nombreArchivo);
} else {
alert("Finish process");
quitarEspera();
}
}
});
}
I use pdf to process images to get images and thumbnails whit the file procesar_pdf.php.
When sucess i call again the function to continue the process and i use progressbar of jquery to see the progress, but when the progress is in 50% or 56% or 65%, the firebug throw me the message of "too much recursion" with other error how "css.Fn" or "showHide(this,arguments)".
I dont know the error, please tell me if know the error.