Answer the question
In order to leave comments, you need to log in
Vk is not defined why?
Hello everyone) Help me pliz, otherwise I don’t even get stuck, I’m a beginner in business)
There is such a script js js
<script type="text/javascript">
function recommendate(){
vk.api.call('audio.getRecommendations', {}, function(r) {
if(r.response) {
$('#playlist').append('<li><a href="<?= $item['url'] ?>"><b><?= $item['artist'] ?></b> - <?= $item['title'] ?> <span class="label"><?= $item['aid'] ?></span></a></li>')
}
});
};
</script>
<a href="javascript:recommendate();" class="sm2-inline-button menu">menu</a>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question