1
我的第一個問題與Stackoverflow。如何在我的網頁上顯示/閱讀Twitter搜索解析數據?如何顯示twitter搜索解析?
下面是我正在使用的代碼。我可以在console.log()中看到15個對象,但我不知道如何在網頁視圖中顯示此對象。
我的編碼是如下:
$
.ajax({
url : "http://search.twitter.com/search.json?q=gaga&callback=?",
dataType : "json",
timeout:1000,
success : function(data)
{
console.log(data.results);
//console.log(data.results);
//$('#twitter').html(data);// parse data here
},
error : function()
{
alert("Failure!");
},
});
嗨,我試過了,它給錯誤「意外的標記非法」這是什麼意思? – sapppy
你的代碼是如何工作的,而不是我的? :-( – sapppy
這是什麼> **函數(i,o)**意味着什麼? – sapppy