Disabling click or mousedown event on jQuery UI Slider
Posted
by
Sparda
on Stack Overflow
See other posts from Stack Overflow
or by Sparda
Published on 2012-11-01T10:50:27Z
Indexed on
2012/11/01
11:00 UTC
Read the original article
Hit count: 155
I am trying to disable the click or mousedown event on the Slider tract. I want the slider to only move by dragging the handle. I tried adding preventDefault() and return false to the slider but no use. Its still triggering the jump.
Example: http://jsbin.com/iguruh/1/edit
I know this is similar to this jQuery UI Slider - Disable click on slider track but the solutions provided there are not working because i have the range option set to false.
Appreciate any help.
© Stack Overflow or respective owner