Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8758687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:36:41+00:00 2026-06-13T14:36:41+00:00

I have a jquery range slider with custom steps which has two handles (min

  • 0

I have a jquery range slider with custom steps which has two handles (min & max) selecting a closed area for filtering results in my .aspx page. Once I click confirmation button, the page postback and shows my ideal results.

But the first time i want to move the handle on the right, it’s the handle on the left that moves. When i log current handle, it’s always the handle on the left shows. I can’t understand why.

This is part of my code:

var stepvalues = ["0", "3000", "5000"];
$("#slider-range").slider({
     range: true,
     min: 0, 
     max: 2,
     step: 1, 
     values: [0, 5000],
     slide: function (event, ui) {
     console.log($(ui));            
     console.log($(ui.handle));
     }
});

Do you have any clue?

Thanks you very much.

EDIT:

What i want to do is the min/max range is from 0 to 5000 with 3 possible values when i move the slider. It could only be 0 or 3000 or 5000.

Now i can move the slider to display relative values, and it works when i submit the form for search. But once it does the postback, the first time i move the slider on the right, it’s the left slider who moves. This is a strange behavior for me. And i want it works correctly.

When i log “ui”, it has several properties:

Object { handle=a.ui-slider-handle, value=3, values=[2]}

the value of “ui.handle” is always the first handle in my slider;
the value of “ui.value” is alwyas the value of the first handle;
whereas “ui.values” contains values of the two handles.

EDIT:

I found it that it was difficult to manipulate $(ui.handle), I’ve used the following code for fix my problem.

$("#slider-range").slider('option', 'values', [min, max]);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T14:36:42+00:00Added an answer on June 13, 2026 at 2:36 pm

    As I’ve solved this problem myself, I put working code here and mark it as solved!

    $("#slider-range").slider('option', 'values', [min, max]);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following jquery code: $('div#headBannerSearchAgedBetweenSlider').slider({ range: true, min: 18, max: 99, values:
I have a jQuery UI slider: $('div.slider').slider({ range: true, step: 250, min: 1000, max:
let's say I have a jQuery UI Slider like so: $(.mySlider).slider({ range: min, min:
I am using a price range, ie jquery range slider. And i have two
I am using jQuery ui range slider http://jqueryui.com/demos/slider/#range in which there are two values
I have a jQuery slider with a two handles. I'm looking to lock the
I am using the jQuery UI range slider and I have two hidden inputs
Here I have a problem with jQuery slider, were I get min and max
I have the following JQuery function about a range slider . It's just working
I am creating a calculator based on the jQuery UI range slider and have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.