Two-handled Slider: Retrieving each value
Hello everyone. I'm using a two-handled slider set up as:
$('#price-range').slider( {
'steps': 56,
'minValue': 0,
'maxValue': 1400000,
'range': true,
'change': function(e, ui) { alert( $(this).slider('value', 0) ); }
} );
I get the following output in the alert box:
[object Object]
I'd like to be able to access each slider's value separately, so I can
then populate two hidden fields with the appropriate values.
Can anyone help? Thanks!