javascript - Check to see if a HTML button gets released -


so want able tell when html button no longer clicked/touched can change boolean true false.

<input id="clickme" type="button" value="click start." onclick="playit();" /> 

i way see if it's still pressed work well.

just add onmouseup button:

<input id="clickme" type="button" value="click start." onmouseup="playit();"> 

Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -