-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,482
  • 4
  • 23
  • 44

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
  • 99,427
  • 50
  • 170
  • 208
Somersault
  • 11
  • 2