jquery - how to disable user interaction for slider? -
i implement jquery ui slider command slider javascript , won't block user interaction. utilize handle a.ui.slider-handle
.
i have tried this:
$('a.ui-slider-handle').unbind()
, didn't work.
to disable user interaction , maintain slider enabled, use:
$('#slider').slider(); $('#slider.ui-slider, #slider ui-slider-handler').off();
example: http://jsfiddle.net/pwxr6/2/
jquery jquery-ui jquery-ui-slider
No comments:
Post a Comment