audio source javascript to html code example
Example: progrmatically change audio src
function updateSource(source, src) {
source = $(source);
source.attr("src", src).appendTo(source.parent());
}
function updateSource(source, src) {
source = $(source);
source.attr("src", src).appendTo(source.parent());
}