如何在Spotify应用程序中添加和使用jQuery(使用Spotify Apps API)?
关于这篇文章http://docs.jquery.com/Using_jQuery_with_Other_Libraries我在我的Spotify应用程序中试过这个:
<body onload="sp = getSpotifyApi(1); j = sp.require('jquery'); tutorial = sp.require('tutorial'); tutorial.init();">
Run Code Online (Sandbox Code Playgroud)
然后 :
var $j = j.jQuery.noConflict();
$j("h2").text("ddd");
Run Code Online (Sandbox Code Playgroud)
但它不起作用......