I want to set the 2nd handle in my jquery slider to a variable. so for example lets just say the variable is "x" my code looks like this
function $sliderHandle2(x) {
//set the 2nd handle here
var value = $( "#slider-range" ).slider( "1", "value" );
$( "#slider-range" ).slider( "1","value", x );
}
I did this using the API from the website but its not working so i assume its very wrong. I thought the "1" would be the number of the handle .
can anyone tell me what part ive done wrong ? I JUST want to set the second handle