Join the open source coding forum

How is it possible to play a sound file on click per JavaScript

I want to modify a JavaScript code so that a click on a graphic will start playing a sound file. Each time when clicked at the graphic the sound file should be played. Does anybody know how the code should look like to do this?

No answers yet