slider: sliderMoveTo
slider: sliderMoveTo
Hi,
I was wondering how sliderMoveTo works. I can't seem to find where
this function is declared in the source. I have a feeling if I can
figure this out, some of my other problems might get cleared up, but
let me ask about these too in case someone has dealt with them.
I have a page with several sliders (each with 2 handles). I want to
access the slider values outside the $('#div-id').slider( ... )
statement. For example, I'd like to be able to submit the values via
an ajax call. I have buttons associated with each slider that use $
('#div-id').sliderMoveTo(...) which works to move the sliders, but I'm
looking for a way to do something similar but getting the values using
a button that will submit the values to a server, eg,
$('#submitt-button').bind("click",
function()
{
slider1_lower = //this is
what I can't figure out;
slider1_upper = // ie, how to
get the slider values
slider2_lower = // ..
...
$.ajax({type: 'GET',
url:
'process_slider_info.cgi',
data: "s1u=" +
slider1_upper + "&s1l=" + slider1_lower + ...
....
}
);
Well, I'm no javascript expert so thanks in advance for your patience
if I'm missing something!
Abe