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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:27:33+00:00 2026-06-18T00:27:33+00:00

I am new to JS and Jquery and I am trying to come up

  • 0

I am new to JS and Jquery and I am trying to come up with solution to my problem. Here is the jQuery Slider plugin which I would like to incorporate

I have an array with 1,000-2,000 objects. Each object has a time and the Unique Id. Time example:

2013-01-23 23:59:03
2013-01-23 23:58:33
2013-01-23 23:58:03
2013-01-23 23:57:33
2013-01-23 23:57:02
2013-01-23 23:56:33

I need to make sure that slider has all times loaded into it’s range, and each time when I move the slider, I want to see an event, where I have the time, and the addMarker(my unique id) function triggered.

I tried loading values via $( ".selector" ).slider( "values", [ 'my time 1', 'my time 2'] ); but seems like I am not doing it right. JS and Jquery are still new to me.

  • 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-18T00:27:34+00:00Added an answer on June 18, 2026 at 12:27 am

    In order to do it, I had to create an array of hash-maps and create response to each event and call to element in hash-map

                $(function() {
                    $( "#slider-range-max" ).slider({
                        range: "max",
                        min: 1,
                        //declare maximum which is the amount of elements in array
                        max:  polyArray.filter(function(value) {
                            return value !== undefined
                        }).length,
                        value: 2,
                        slide: function( event, ui ) {
                            var cRte= {};
                            //access my hash map
                            cRte = History[ui.value]; 
                            try { 
                            alert(cRte["timestamp"]);
                            } catch(e) {
                                console.log(e);
                            }
                        }
                    });
                });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to jQuery and trying to combine the use of a tooltip plugin
I'm new to JQuery and trying to implement a function which will hide an
New to jQuery here. I've found several web pages that come close to what
I'm new to jquery and trying to accomplish something. My HTML looks like: <li>
I am new to jquery and trying to build a full page responsive slider.
new to jquery here but I'm trying to learn some different stuff that's been
OK, what I'm trying to do here is to have jQuery UI update the
I'm new to jQuery and trying to change an attribute of an SVG element
I've been trying to use the new jquery-ui, and all but the resizable function
I am new to Jquery and am trying to store the location and size

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.