Random Audio
Unfortunately, I believe the .play() method is part of the DOM and not a jQuery function. You can accomplish it in couple of ways: $(tone)[0].play(); — as answered by jremi. The only caveat is that you must use index of zero. I don’t this will work: $(tone)[1].play(); $(tone).get(0).play(); $(tone).trigger(“play”) Try it here: jQuery: HTML: