这是一小段代码。请帮帮我..
percentComplete = msg.split(":")[0];
stepNumber = msg.split(":")[1];
if(stepNumber == "100" || stepNumber == "200") {
doRefresh = false;
enableButtons();
$("#progressBar").hide(400);
return 0;
} else {
doRefresh = true;
$("#progressBar").fadeIn(300);
disableButtons();
}
$("#progBar").html(percentComplete + "%");
document.getElementById("progBar").style.width = percentComplete + "%";
提前致谢