Html ProgressBar
Bind to the valuechanged event by type: jqxProgressBar. Author: http://jqwidgets.com
by jqwidgets
HTML
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id='jqxProgressBar'></div>
<div id="log"></div>
<div>
<input style="margin-top: 20px;" type="button" id='jqxButton' value="Set new value" />
</div>
JavaScript
$("#jqxProgressBar").jqxProgressBar({
value: 50,
width: 200,
height: 20,
theme: 'energyblue'
});
$("#jqxButton").jqxButton({
height: '30px',
width: '120px',
theme: 'energyblue'
});
$('#jqxButton').on('click', function () {
$('#jqxProgressBar').jqxProgressBar({
value: 70
});
});
$('#jqxProgressBar').on('valueChanged', function (event) {
var value = event.currentValue;
$("#log").html('The new value is: ' + value);
});