I'm doing the progress bar in ajax, jquery with php. I need to delay the uploading process file the file is uploaded. Here is my code.
uploadProgress : function(event, position, total, percentComplete) {
$("#progressbar").width(percentComplete + '%');
$("#percent").html(percentComplete + '%');
if (percentComplete > 50) {
$("#message").html("<font color='red'>File Upload is in progress .. </font>");
}
},
how can i delay the progress bar loading to show the completed percentage? or is there any other solution?