Hello, I'm trying to make a game menu in HTML5 + JavaScript + CSS3 and when I click on a button I want to change the html page, but that same song continue to give.
I suppose it is with the audio.currentTime method, but I do not know how to pass it as a parameter. To change the page I am using the window.location.assign (html file) method.