Answers for "jquery slider move event"

0

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);
}
Posted by: Guest on September-08-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language