There are 4 possible events you can use. Look under events in the docs ==> http://jqueryui.com/demos/slider/
You can use the
- start
- slide
- change
- stop
events.
If you want to do a function everytime the slider is changed try change
.
Let's say your slide is an element with id of slider
:
$(function() { // <== doc ready
$( "#slider" ).slider({
change: function(event, ui) {
// Do your stuff in here.
// You can trigger an event on anything you want:
$(selector).trigger(theEvent);
// Or you can do whatever else/
}
});
});