문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top