I am writing an application using jQuery (with the jPlayer plugin) that needs to store a queue 开发者_如何学Goof songs to play. I plan to just simply store the strings of the song names in the queue... is there a really good, simple queue implementation in javascript that anyone would recommend? jQuery's queue doesn't seem to be what I want since it deals with functions, which is way more complicated than I need.
Thanks
Why don't you simply use an array to store your song :
var mySongs = [];
mySongs.push('myNewSong');
精彩评论