jquery - jQuerytools RangeInput update on scroll -
hi i'm using latest version of jquerytools rangeinput drag slider , update donation amount, version not update range input (amount) on drag when complete drag, here link http://bit.ly/12up4c4 , here code. assistance.
jquery(":range").rangeinput({ progress: true, change: function(e, i) { jquery('#input_4_4').val(jquery('.range').val()); jquery('.handle').text(jquery('.range').val()); }});
edit: have tried using onslide function below suggested not seem work jquery 1.8, workarounds?
i think need use onslide event instead of change. like:
jquery(":range").rangeinput({ progress: true, onslide : function(e, i) { jquery('#input_4_4').val(jquery('.range').val()); jquery('.handle').text(jquery('.range').val()); }});
the change event doesn't happen until after finished sliding. taken documentation. http://jquerytools.org/documentation/rangeinput/index.html
Comments
Post a Comment