HTML5 input type range show range value

后端 未结 12 1364
野趣味
野趣味 2020-11-28 01:51

I am making a website where I want to use range slider(I know it only supports webkit browsers).

I have integrated it fully and works fine. But I would like to use a

12条回答
  •  醉话见心
    2020-11-28 02:23

    If you want your current value to be displayed beneath the slider and moving along with it, try this:

    
    
    
      
      MySliderValue
    
    
    
      

    MySliderValue

    Note that this type of HTML input element has one hidden feature, such as you can move the slider with left/right/down/up arrow keys when the element has focus on it. The same with Home/End/PageDown/PageUp keys.

提交回复
热议问题