Audio loaded dynamically from array does not play
Click should load an .mp3 from an array of .mp3s and play it. The error
is: "does not support method play." Where is the mistake? Thank you. The
first set of () contains "" which does not show after I post.
$("<audio/>").attr("src", "audio/" + main_sounds[i]).load().play();