Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery slider move event

// Logs the value when the user has released the slider
$('.my-slider').on('change', valueUpdated);

// Logs the value while the user is moving the slider
$('.my-slider').on('input', valueUpdated);

function valueUpdated (e) {
    var val = $(e.element).val();
    console.log(val);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #slider #move #event
ADD COMMENT
Topic
Name
2+1 =