开发者

Store queue of strings in javascript/jQuery

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');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜