$('#slider').slider({ range: "min", value: 20, step: 5, min: 20, slide: function( event, ui ) { $( "#amount1" ).val( "$" + ui.value ); } });
This is what I have now, this is a slider displaying the value. The HTML part is as follows:
<label for="amount">Offer:</label> <input type="text" id="amount1" /> <div id="slider"></div>
I would like the table to be below with a block of text; except that I would like the text to change as the value increases. Say, if he were >= 20 and < 40 , he would say "Blah1" =>40 , he would say "blah2"
But I am unable to add another event to the slide function.
Thanks so much for your help, I can apply it to many things. Usually this is only one function per script, I never overlay them in layers this way.
source share