How to play music by clicking link - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How to play music by clicking link

jeffy_khorjeffy_khor Posts: 163Member
[code]


snd1.src = "song.mid"

function playx(){
//alert("Next song")
snd1.src = "xMas.mid"
return true;
}



Next song
[/code]

how to click the link and change the music to the next song. The above code don't work.

Thank you.

Comments

Sign In or Register to comment.