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
Post a Comment