HTML5 type=range - showing label

后端 未结 7 2071
心在旅途
心在旅途 2021-02-12 13:25

Is there a way I can also set some label text for each steps in the HTML5 type=range control. Basically I have a range control

7条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-12 13:52

    Here's an alternative solution, no jQuery required. Uses the HTML5 oninput event handler, and valueAsNumber property of the input element.

    Works on my machine certification: Chrome v54

    1

提交回复
热议问题