How to i call one javascript function as soon as the value of the slider handle changes.

How to i call one javascript function as soon as the value of the slider handle changes.


Hi,
i want to call a javascript function, which will do post back and
call server side function to display records in grid my problem is
that i wrote following code:
$(select).selectToUISlider({
sliderOptions: {
stop: function(e,ui) {
alert(’stopped’);
}
}
});
but it gives me error: select is not declared, i dont knw what is the
problem!!
im new to jquery.