API: How to update a progress bar?
Hi, how do I update the value of a progress bar?
// Test #1
x = $.messager.progress({
title: "Processing",
value: 5,
text: "{value}%",
interval: 0,
closable: true
});
x.progressbar();
x.progressbar('setValue',50);
// Test #2
x = $.messager.progress({
title: "Processing",
value: 5,
text: "{value}%",
interval: 0,
closable: true
});
x.progressbar({value: 50});
Both kind of work but mess with the layout...

Others
Sign In Or Register Comment after
No comments yet. Be the first to comment!