Slider 1 Value Equal Slider 2 Value
I am attempting to have multiple sliders set the value of another
slider. So far, I've started easy with just trying to get one slider
to mimic the value of another slider. What I've got is the following.
$("#final").height(100).slider({
range: "min",
min: 0,
value: 10,
max: 100,
orientation: "vertical"
});
$("#fist").slider({
range: "min",
value: 37,
min: 1,
max: 100,
slide: function(event, ui) {
console.log(ui.value);
$("#final").slider("moveTo", ui.value);
}
});
Any thoughts? Eventually I am going to have about 10 sliders to
generate the value of the $('#final') slider. Thanks.