function playAudio(zz) { document.getElementById("myAudio").src = zz var x = document.getElementById("myAudio"); x.play(); }