javascript - HTML input element range detect when a drag is over - Stack Overflow

<input type="range" min="0" max="1" step="0.01" value="

<input type="range" min="0" max="1" step="0.01" value="1" />

Using Javascript how can I detect when the user has finished dragging a input:range element?

I've tried to use onblur, onmouseout and ondragend events.

Looking for a native javascript solution

<input type="range" min="0" max="1" step="0.01" value="1" />

Using Javascript how can I detect when the user has finished dragging a input:range element?

I've tried to use onblur, onmouseout and ondragend events.

Looking for a native javascript solution

Share Improve this question asked Mar 17, 2013 at 19:05 ChrisChris 2,4883 gold badges24 silver badges38 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 6

You can use onchange or onmouseup

jsfiddle

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742282037a4414665.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信