I have a javascript file that call with $ajax a php script.
$.ajax({
url : "myscript.php",
success : function (data) {
doSomething();
},
error : function (data) {
doSomethingElse();
}
});
My php script will print more output during the process, one at a time.
Can I visualize these output asynchronously while the php script is processing?
Or I have to wait the end and show all togheter the output string from php script?
Thank you.