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

  • Home
  • SEARCH
  • 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 8546823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:07:27+00:00 2026-06-11T13:07:27+00:00

My JQuery slider’s value getter is not working. var value = $(#slider).slider(option, value) It

  • 0

My JQuery slider’s value getter is not working.

var value = $("#slider").slider("option", "value")

It does not return the right value. My slider’s range is from 1 to 5, if that helps. It returns odd values that do not correspond to the actual value. If I move it to the end and back again, instead of going 1, 2, 3, 4, 5, 4, 3, 2, 1, like it should, it does 0, 0, 2, 3, 4, 5, 4, 3, 2. The 5 isn’t even at the end, when I get to the end it says 4 but when I slide it one back it says 5!

  • 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-11T13:07:28+00:00Added an answer on June 11, 2026 at 1:07 pm

    When are you trying to query these values?

    If it’s during the slide callback you’ll get the previous value, not the current, and you should use the ui.value parameter instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently my jQuery slider prevents the user from progressing if the range is 0-0
My jQuery slider does not work in Chrome. It only shows the navigation and
I'm working on adapting a jQuery slider that originally had 10 thumbnails. I only
I am working on a jquery slider that seems to work well in all
Does anyone know of a jquery slider that looks and functions like this one?
I'm looking for a jquery slider script that is able to right-left slide while
jQuery(function() { jQuery( #slider-range-min ).slider({ range: min, value: 1, step: 1000, min: 100000, max:
I am working on jquery slider to take min and max price and I
I adapted the jQuery slider code from http://webdeveloperplus.com/jquery/featured-content-slider-using-jquery-ui/ into my website which is based
I am trying to reproduce a simple jquery slider example that works on this

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.