Slider jquery.ui-1.5

Slider jquery.ui-1.5


Hi All!
I've problem retreiving the correct value from the slider with the
latest jquery ui lib (1.5, jquery: 1.2.6).
When i change the slider it returns the actual value
(0,20,40,60,80,100) instead of a value between the min and max.
I use the following code:
$('#slider').slider({
minValue: 1,
maxValue: 5,
startValue: 1,
steps: 5,
range: false,
change: function(e,ui) {
console.log(ui.value);
}});
Am I forgetting something or is this not the right way to retreive the
value?? Or is it 'just' a bug?
Cheers,
Paul