Bound jQuery range slider to input field -


i'm trying bound input field jquery slider range option. tried demo listed in jquery's website, changing select field input, not working. main idea handle search requests , whenever user edits input field reflect slider too. possible? here current code:

jquery(function($) {     $( "#adv-slider-price-range" ).slider({             range: true,             min: 0,             max: 100000,             values: [ 0, 100000 ],             slide: function( event, ui ) {                 $( "#advc-amount-price" ).val( ui.values[ 0 ] + " , " + ui.values[ 1 ]);             }     });     $( "#advc-amount-price" ).val( $( "#adv-slider-price-range" ).slider( "values", 0 ) + " , " + $( "#adv-slider-price-range" ).slider( "values", 1 ) ); });  <input type="text" name="pricerange" id="advc-amount-price" /> <div id="adv-slider-price-range"></div> 


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -