Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#4311 closed bug (worksforme)

Not able to get the slider value when i move the slider handle

Reported by: psranjith Owned by:
Priority: major Milestone:
Component: ui.slider Version: 1.6rc6
Keywords: Cc: psranjithkumar@…
Blocked by: Blocking:

Description

I am using jquery 1.3.2 and jQuery UI Slider.js 1.6rc6 and i am not able to get the slider value when i move the slider handl.

Previously i was using jquery 1.2.6 and ui.slider.js 1.6 and i was able to retreive the value while moving the slider handle.

Please help to fix the problem

Change History (3)

comment:1 Changed 10 years ago by psranjith

even when used slider.js 1.7 and core.js 1.7 with jquery 1.3.2.js, i am not able to get the current value when the slider handle is moved.

comment:2 Changed 10 years ago by rdworth

Resolution: worksforme
Status: newclosed

Inside the slide callback you can get the value by the ui.value property. Example:

$("#slider").slider({
  slide: function(event, ui) {
    console.log(ui.value);
  }
});

Here's a complete demo using jQuery UI 1.7 and jQuery 1.3.2:

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

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.