Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#7685 closed bug (notabug)

Slider Create Event Gives Empty Object For Callback

Reported by: michaelcordingley@… Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.slider Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:


Specifically, the ui object comes back empty. Browser, is FF 6.0.1. Code snippets attached.


min: 0, max: 100, create: function(event, ui) {


}, animate: "fast", slide: function(event, ui) {

$(this).closest('td').prev().find('input').val(100 - ui.value); $(this).closest('td').next().find('input').val(ui.value);






<td>% Qualitative</td> <th>Qualitative Question Weight</th> <td>% Quantitative</th>

</tr> <tr>

<td style="text-align: center;"><input type="text" value="70" readonly size="3" /></td> <td><div class="slider"></div></td> <td style="text-align: center;"><input type="text" value="30" readonly size="3" /></td>




Change History (3)

comment:1 Changed 9 years ago by Scott González

Resolution: invalid
Status: newclosed

It's supposed to be that way.

comment:2 Changed 9 years ago by michaelcordingley@…

Good to know. Could we then have that documented in the documentation for slider? It currently reads that all callbacks are provided with those objects.

And thanks for the quick response!

comment:3 Changed 9 years ago by Scott González

Ah, thanks. I just updated the docs at The docs on will update with the next release.

Note: See TracTickets for help on using tickets.