Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML input element range detect when a drag is over

<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

like image 967
Chris Avatar asked Mar 17 '13 19:03

Chris


1 Answers

You can use onchange or onmouseup

jsfiddle

like image 140
Anoop Avatar answered Oct 27 '22 00:10

Anoop