skip to Main Content

In this example, I can change the range input, the number will be changed in the field.
I want to enter a number and have the range change the same way.

https://snipp.ru/jquery/jquery-ui-slider#

I tried to put the values the other way around, but it doesn’t work.

2

Answers


  1. just track the input field value change event Working example

    Login or Signup to reply.
  2. While creating a slider you can pass a value inside the options object.

    After creation, you can manipulate the value of the slider like this:

    mySlider.slider('value', 42)

    note that "mySlider" is a jQuery object, not just the DOM element

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search