// Run on page load
$(function(){
    $('.mix').each(function(){

        //var $parent = $(this).parents('.post');

        // Grab the data we set earlier in the HTML
        var id = $(this).data('id');

        // Lastly, we'll insert the button
        $('.audioleft', $(this)).append('<div class="button"><a href="http://www.brandonevans.ca/public/docs/js/playlist.php?id=' + id + '">iTunes Playlist</a></div>');
            
        // Rinse and repeat...
    });
});
