Search and Top Navigation
#4321 closed bug (duplicate)
Opened March 10, 2009 05:01PM UTC
Closed March 13, 2009 12:07AM UTC
Last modified October 11, 2012 09:15PM UTC
Incorrect value returned by ui.value in slide() function
| Reported by: | smaon | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | ui.slider | Version: | 1.7 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
In the code example below, if I move the slider quickly right to left, the mininal value changes to other numbers than zero. The change() function seems to work fine.
Tested in Firefox 3.0.7 and IE 7.
<script type="text/javascript" charset="utf-8">
$(function(){
$("#slider_test").slider({
min: 0,
max:100,
slide: function(event, ui){
$("#output").html(ui.value);
},
change: function(event, ui){
alert(ui.value);
}
});
});
</script>
<div style="padding: 10px;"><div id="slider_test" style="width:100px;"></div></div>
<div id="output"></div>
Duplicate of #4292
Fixed in r2226 and r2227