how to put an audio in a button, so if we clicked it the audio will play automatically?

后端 未结 0 437
北荒
北荒 2021-02-18 15:33

Now i just did this,

var button = document.createElement(\'button\')
button.textContent = \'Start\'
button.addEventListener(\'Start\', ()=> {
button.textConten         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题