View Full Version : How to play random sounds on click?

02-06-2012, 01:51 AM
On my website I have picture that when clicked I want to play random sound files. I have 5 wavs uploaded and defined in a variable but only the first one plays when this picture is clicked. How can I have all 5 play randomly on click?

Thank you!

03-01-2012, 04:33 PM
try javascript