Domanda

I have been wanting to put a range slider for an Application i am working for in University. I want the value that the slider has when the user changes it to be displayed and i also want to use this value to compare it in javacript to some other values with an if statement.

So what i am asking is how can i create a slider and take the current value and use it in Javascript? I hope this makes sense to everyone and sorry for my grammar.

È stato utile?

Soluzione

You can use the below link which is a tutorial to create a slider using HTML5 and CSS.

Slider Control Creation With HTML5

Hope this helps.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top