Fires when the user drags the drag handle to a new position.
Parameters
Name | Type | Description |
---|---|---|
e | {object} | event data |
value | {object} | The value of the slider. |
Examples
sample
<input id="slider" width="300" />
Value: <span id="value"></span>
<script>
$('#slider').slider({
value: 30,
slide: function (e, value) {
document.getElementById('value').innerText = value;
}
});
</script>