Undefined progresbar, value changed from javascript:
|
function progress() {
var pbar = $('#<%= $this->pbar1->ClientID %>');
var val = pbar.progressbar('value') || 0;
pbar.progressbar('value', val + 10);
if (val < 99) {
setTimeout(progress, 500);
}
}
function startExample1()
{
$('#<%= $this->pbar1->ClientID %>').progressbar('value', false)
progress();
}
|