Slider

Home Search

Slider

Bind events directly to the input element. Use jQuery Mobile's virtual events, or bind standard JavaScript events, like change, focus, blur, etc.:


$( ".selector" ).bind( "change", function(event, ui) {
  ...
});

The slider plugin has the following custom event:

create triggered when a slider is created

$( ".selector" ).slider({
   create: function(event, ui) { ... }
});
			
slidestart triggered when there's an initial interaction with the slider. Includes drags and taps.

$( ".selector" ).on( 'slidestart', function( event ) { ... });
			
slidestop triggered at the end of an interaction with the slider. Includes drags and taps.

$( ".selector" ).on( 'slidestop', function( event ) { ... });