So is there a way to disable mousedown and / or click event on input range element but at the same time let user drag slider around and still fire on change event?
Disabl
Why not use "mouseup" instead of "click"?
$("#slider").on('mousedown', function(event) {
//event.preventDefault();
/* Act on the event */
console.log("mousedown", this.value);
});
$("#slider").on('mouseup', function(event) {
//event.preventDefault();
/* Act on the event */
console.log("mouseup", this.value);
});
Is this what you are trying to accomplish? Experiment with the fiddle if you'd like. :-)