Build jQuery UI Progressbar - Default functionality in JavaScript
Description
The following code shows how to build jQuery UI Progressbar - Default functionality.
Example
<!-- Revised from demo code on http://jqueryui.com/ -->
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Progressbar - Default functionality</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
<link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css" rel="stylesheet" />
<!-- www .j a v a2s.com-->
<script>
$(function() {
$( "#progressbar" ).progressbar({
value: 37
});
});
</script>
</head>
<body>
<div id="progressbar"></div>
<div class="demo-description">
<p>Default determinate progress bar.</p>
</div>
</body>
</html>
The code above generates the following result.
Javascript Tutorial ProgressBar
Build jQuery UI Progressbar - Custom Label ...
Build jQuery UI Progressbar - Custom Label ...