変数は問題なく「アラート」されpercentます。しかし、progressbar関数に入れると、デフォルトでゼロになります。値をハードコードするとうまくいきますvalue: 60。どうすれば自分のpercent変数で動作させることができますか? ありがとう。
function updateProgress(percent)
{
alert(percent);
$("#progressbar").progressbar({
value: percent
});
}