I am using jquery and jquery mobile to catch a change event. I am using this html and jquery code:
html:
<input type="range" name="someName" min="0" max="10"/>
jquery:
$('input[type="range"]').change(function(){
alert('asdasd');
});
when I change the input attribute to name it works fine. Like this:
$('input[name="range"]').change(function(){
alert('asdasd');
});
I don’t know why the event is not being cached.
Thanks
Don’t use change event, use slidestart or slidestop.
More info: http://jquerymobile.com/test/docs/forms/slider/events.html
Here’s an example I have created few days ago: http://jsfiddle.net/Gajotres/PzTeX/