i need to use jplayer add to playlist in my joomla website and i will when user click on icon of play , jquery get the data-mp3 and data-name and data-poster from tag link and add to above function to add that sound in player please help me how did it? i cant get data-* attribute and send to myplaylist.add function for add that sound data to playlist of jplayer
$("#playlist-equivalent-1-a"). click(function() {
myPlaylist.add({
title:"title",
artist:"artist",
mp3:"url",
poster: "url"
}, true);
});