Hello, i have a problem with my music player.
I want to add like a playlist to my music player. But i cannot find a way of changing the song to another when you press the "next" button.
I have tried everything.
Made an array
var x=0;
var music_choice = new Array();
music_choice[x] = "music1.wav";
music_choice[x] = "music2.wav";
and then using NEXT to x++ and PREVIOUS to x--
ive tried everything
maybe some tips?
Thanks guys!
JavaScript Beginner at work
I want to add like a playlist to my music player. But i cannot find a way of changing the song to another when you press the "next" button.
I have tried everything.
Made an array
var x=0;
var music_choice = new Array();
music_choice[x] = "music1.wav";
music_choice[x] = "music2.wav";
and then using NEXT to x++ and PREVIOUS to x--
ive tried everything
maybe some tips?
Thanks guys!
JavaScript Beginner at work