Getting the value from a jQuery Mobile slider in 1.4.2 -
i'm trying value jquery mobile slider in 1.4.2 can write in code user adjust volume. i've tried exact code of answers posted on jquerymobile: how work slider events? none of them seem work anymore.
here codepen showing results of accepted answer; ideas how working? thanks!
you can handle "change" event on slider:
$(document).on("pagecreate","#settings", function() { $('#slider').on("change", function(){ alert($(this).val()); }); });
Comments
Post a Comment