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 8353375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T09:14:20+00:00 2026-06-09T09:14:20+00:00

Please any one can help me with jquery Slider range? I am new to

  • 0

Please any one can help me with jquery Slider range?
I am new to jQuery and trying to achieve min (right arrow icon) and max(left arrow icon) in the dragging left/right range.

Price range: 0 – 1000
==(>)========(<)===

I want to replace these icons with my personal images with right and left arrow. Is it possible?

I have also attached the image.

$(function() {
    var values = [0,25,50,100,200,400,700,1000];
    $( "#slider-range" ).slider({
        range: true,
        min: 0,
        max: 1000,
        step:50,
        orientation: "horizontal",
        values: [ 0,1000 ],
        slide: function( event, ui ) {
            $( "#amount" ).val( "£" + ui.values[ 0 ] + " - £" + ui.values[ 1 ] );
            console.log("From: "+ui.values[0],"To: "+ui.values[1]);
            $( "#min" ).val( ui.values[ 0 ] );
    $( "#max" ).val( ui.values[ 1 ] );
        }
    });
    $( "#amount" )
    .val( "£" + $( "#slider-range" )
    .slider( "values", 0 ) + " - £" + $( "#slider-range" )
    .slider( "values", 1 ));
});
$( "#slider-range a").hide();
  • 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-09T09:14:22+00:00Added an answer on June 9, 2026 at 9:14 am

    After having a quick look at the mark-up, it appears that jQuery-UI doesn’t differentiate between the 2 sliders. That isn’t a huge problem; what I would recommend doing, upon constructing your slider is adding a min-value and max-value to the ui-slider-handles accordingly. Something like this should do the trick:

    $('#slider-range').slider({
         range: true,
         min: 0,
         max: 1000,
         step:50,
         orientation: "horizontal",
         values: [ 0,1000 ],
         slide: function(event, ui) {
              $('#amount').val( "£" + ui.values[ 0 ] + " - £" + ui.values[ 1 ] );
              $('#min').val( ui.values[ 0 ] );
              $('#max').val( ui.values[ 1 ] );
         }
    }).find('.ui-slider-handle')
         .eq(0).addClass('min-slider').end()
         .eq(1).addClass('max-slider');
    

    With these classes in place, you can then setup the CSS to target them and manipulate how they look as you wish. 🙂

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

Sidebar

Related Questions

Can any one please help me how to go to another activity in android
Can any one please help me solve this. I am resizing some flash object/embed
Can any one please help me how to convert date(02/07/2012) to Tuesday, Febraury 7,
Hope someone can help. I am new to javascript so please forgive any mistakes.
Can any one help me please, I have two sections of my question. What
Can anyone please help me to work out how to achieve the following? I
I'm a new bie with MVC3 razor. Can anyone please help me why I
I am new to this website and new to Jquery. So seniors please help
Please any one help me to show and hide the text box appropriately. Response:
below is my Jquery slider range (min-max) code, the drag works fine on desktop

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.