$.getJSON(get, function (data) {
if(data.results[0])
{ ver = data.results[0];
$("#result").html(ver);}
else
$("#result").html("This source does not provide the lyrics you want. Try Sources #1 and #2");
});
$.post("check.php", { 'vid': 'gS9o1FAszdk', 'sursa': "1", 'vers':ver } ,function(dt){alert(ver);});
これは私のコードであり、効果はありません。データから「vers」を削除すると、スクリプトは正常に機能します。どうしたの?