candro,
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>slider demo</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/mint-choc/jquery-ui.css">
<style>
#slider-zaim { margin: 10px;width : 500px; }
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
</head>
<body>
<div id="slider-zaim"></div>
<input id="amount" value="0">
<script>
$(function() {
var b = $("#amount"),
a = $("#slider-zaim");
a.slider({
range: "min",
min: 100,
value: 100,
max: 1E4,
step: 100,
change: function(a, c) {
b.val(c.value)
},
slide: function(a, c) {
b.val(c.value)
}
});
b.val(100).focusout(function() {
a.slider("value", this.value)
}).focusout()
});
</script>
</body>
</html>