Default options, Max=100, Value=50:
|
|
Undefined progressbar, Value=false:
|
|
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();
}
|
Default options, Max=100, Value=50, value changed during callback:
|
|