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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:29:57+00:00 2026-05-18T05:29:57+00:00

Using the Slider Jquery plugin from Egor Khmelev, I’ve managed to set the slider

  • 0

Using the Slider Jquery plugin from Egor Khmelev, I’ve managed to set the slider the way I want it (to set a range of years), and want to use the pair of values set by it to build a search query. So following the author’s example, I have the following slider code:

  jQuery("#Slider1").slider({ from: 1000, to: 100000, step: 500, smooth: true, round: 0, dimension: " $", skin: "plastic" });

There is a function to show the value, but as I’m using a double slider, I’d need to separate those.

$(document).ready(function(){
   $("#searchButton").click(function(event){
     var myPair = null;  
     myPair = $("#Slider1").slider("value");
     alert(myPair); // using alert just to see the result
   });
 });

That code outputs the pair indeed (“value1;value2”). What I’m after (and I’m a complete newbe on this) is to have each value on a separate variable, and then be able to pass that variable in a “parameter style” search query for a standard php/html form, like

search.php?term=myTerm&yearFrom=1990&yearTo=2010

Any and all ideas are welcome!

  • 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-05-18T05:29:57+00:00Added an answer on May 18, 2026 at 5:29 am

    How about:

    var myPair = null;  
    myPair = $("#Slider1").slider("value");
    var split = myPair.split(';');
    var query = 'search.php?term=myTerm&yearFrom=' + split[0] + '&yearTo=' + split[1];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using this plugin: http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider Demo: http://cssglobe.com/lab/easyslider1.7/02.html Maybe somewhere in here can be altered?
Hello I am using jquery layout plugin from http://layout.jquery-dev.net/ . my options are following:
http://cssglobe.com/post/4004/easy-slider-15-the-easiest-jquery-plugin-for-sliding I am using easy slider for banner and I called below script to
I have a JQuery silder that I'm using to set the score on a
I'm currently using jQuery and am looking for a way to slide an image
I'm using the jQuery cycle plugin to create multiple slideshows on a single page
1) I am using the jqgrid plugin to show results from different selections a
I am writing a jQuery plugin and need functions that can be called from
I tried using the Moving Boxes jQuery Plugin in Asp.net Mvc. It works in
I'm trying to use Nivo's banner slider plugin ( http://nivo.dev7studios.com/ ) and Kwick's plugin

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.