How can I control 2 amounts with 1 slider ,
Below is the code I have for one slider controlling one amount.
$(function() {
$("#slider").slider({
value:38.11,
min: 38.11,
max: 100,
step: 1,
slide: function(event, ui) {
$("#amount").val('$' + ui.value);
}
});
$("#amount").val('$' + $("#slider").slider("value"));
});
Can any one help ?