jQueryMobile slider change event

后端 未结 1 419
野性不改
野性不改 2021-01-23 18:07

I have difficulties in listening to the change event of a jQueryMobile slider.

In this page, the event triggers correctly the event \"slidestop\":
http://jsfiddle.ne

相关标签:
1条回答
  • 2021-01-23 18:37

    your jsfiddle have onLoad like this:

    //<![CDATA[ 
    $(window).load(function(){
    $("#slider-step").on("slidestop", function(e){
       alert("STOP!"); 
    });
    });//]]>     
    

    and you only coppy the script on your page without $(window).load or $(document).ready jsfiddle

    0 讨论(0)
提交回复
热议问题