code for change Slider Range value
Hi to All,
I'm able to read the value of an range/slider (single value) but have not idea of how to put/set/change the Value.
<form >
<label for="wait">Wait minutes:</label>
<input type="range" name="wait" id="wait" min="1" max="60" step="1">
//btw same situation if add value="10" or so
</form>
//works, get the value changed by the user
wait = $('#wait').val();
$('#wait').val("11"); //no works
$('#wait').val(11); //no works
$('#wait').slider('refresh'); //even with or without this
tried to using other variants, no luck:
$(input[name='wait']).val(cfgMin);
$('#wait').prop('val','8');
$("input[type=range]").val("6");
I've read dozens of references but none helpful, hope yours have better eyes
Thanks!
Guillermo in Spain