I have a jQuery UI slider that is part of a rating system. You slide to values 1 - 5 in order to rate it 1 thru 5. I have it defaulted to 3 when the slider first appears. Th
Use ui.value in the change event handler.
ui.value
$('#ratingSlider').change(function(e, ui) { $('#rateToPost').attr('value', ui.value); });