// 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);
}