2 Arrays in Javascript
I have this code to make a songs list in playlist
var cookie = 'songsname,songsname';
var playlistts=cookie.split(",");
var each = playlistts.join('</span><li><img class="plimg"
onload="this.src =
\'//drive.gioline.ge/index.php?\'+$(this).next(\'span.titletrack\').text()"
src="/img/cover.png"><span onclick="playinToplaylist($(this).html());"
class="titletrack">');
$("#playlist").html('<li><img src="/img/cover.png"><span
onclick="playinToplaylist($(this).html());" class="titletrack">' +
each);
And i have other cookie there is youtube video ids for this titles and how
to unit this 2 arrays and write code where will be title and video id too
No comments:
Post a Comment