-1

I have a link in my html. Like this:

<a href="#" class="sound">Click</a>

When you click on this button. Then a sound will play. But how can i make that with javascript / jquery. This is the sound:

Sound

Mike Vierwind
  • 1,442
  • 4
  • 21
  • 41

1 Answers1

0

The best practice cross-browser wise, would probably be using flash. However if you want to use the nifty HTML5 solutions, you could have a look at this place:

http://code.coneybeare.net/getting-html5-audio-tag-and-flash-fallback-to

Bojangles
  • 96,145
  • 48
  • 166
  • 203
Somersault
  • 11
  • 2