Reputation: 21
I implement jQuery UI Slider but i control this slider with javascript and i won't to block user interaction. I use as handle a.ui.slider-handle
.
I have tried this:
$('a.ui-slider-handle').unbind()
, but it didn't work.
Upvotes: 0
Views: 542
Reputation: 5910
To disable user interaction and keep slider enabled, use:
$('#slider').slider();
$('#slider.ui-slider, #slider ui-slider-handler').off();
Example: http://jsfiddle.net/pwXR6/2/
Upvotes: 1