Guest User

Untitled

a guest
Jan 22nd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. $("div.songlog").each(function() {
  2. var song = $.trim($(this).find('div.title').text());
  3. var artist = $(this).find('div.details div').text();
  4. var a = artist.toString().split(" - ");
  5. var artist = $.trim(a[0]);
  6. console.log(song + ' - ' + artist);
  7. });
Add Comment
Please, Sign In to add comment