set audio source javascript dont change 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());
}