+ 2

Audio button?

How can we specify the computer that we click a specified button,an audio starts ?

13th Feb 2017, 7:56 PM
babak
babak - avatar
1 Answer
+ 17
<audio


> <button onclick="document.getElementsByTagName('audio')[0].play();">Spam</button>
13th Feb 2017, 8:54 PM
Valen.H. ~
Valen.H. ~ - avatar