HTML
<audio controls id="controls">
<source src="Song.mp3" type="audio/mpeg">
</audio>
JavaScript
var FileName = document.getElementById("controls").src
alert(FileName)
I am trying to make the alertbox say the source name (Song.mp3) not sure how to do this help!