Immediate play sound on button click in HTML page

后端 未结 5 1158
旧巷少年郎
旧巷少年郎 2021-02-02 17:42

In my HTML page I have 9 images for dialing numbers and one text box that shows the pressed numbers. I want each of those images to immediately play beep sound when users click

5条回答
  •  青春惊慌失措
    2021-02-02 18:14

    Example based on accepted answer (Tested in Chrome 70), but I didn't need to re-cue:

    
    
    
    

提交回复
热议问题