I have a file which makes a huge Excel data sheet with more than 10.000 lines. I load the file with $.ajax method of jQuery.
$('#excelExportForm').submit(function(){
$.ajax({
type: "GET",
url: "phpexcel/export_titles.php",
dataType: "html",
async: true,
success: function(response){
console.log(response);
}
});
return false;
});
After every line a calculate the actual process in percent and echo it out.
How can I get this echo to manipulate a progress bar?
The Output in my console is the following:
000111112222233333444445555566666777778888899999101010101011111111111212121212131313131314141414141515151515161616161617171717171818181818191919191920202020202121212121222222222223232323232424242424252525252526262626262727272727282828282829292929293030303030313131313132323232323333333333343434343435353535353636363636373737373738383838383939393939404040404041414141414242424242434343434344444444444545454545464646464647474747474848484848494949494950505050505151515151525252525253535353535454545454555555555556565656565757575757585858585859595959596060606060616161616162626262626363636363646464646465656565656666666666676767676768686868686969696969707070707071717171717272727272737373737374747474747575757575767676767677777777777878787878797979797980808080808181818181828282828283838383838484848484858585858586868686868787878787888888888889898989899090909090919191919192929292929393939393949494949495959595959696969696979797979798989898989999999999100100