Audio button? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponse
+ 17
<audio………> <button onclick="document.getElementsByTagName('audio')[0].play();">Spam</button>
13th Feb 2017, 8:54 PM
Valen.H. ~
Valen.H. ~ - avatar