我有一個Twitter管理程序,其中一個選項是搜索包含用戶提供的任何輸入的推文。當找到列表中的匹配項時,我無法找到一種方法讓for循環跳過else語句。現在,程序將打印它找到的與搜索條件相匹配的推文,同時打印出未找到包含搜索條件的推文。 # Option 3, search tweet_list for specific content and display if found
# in des
某些內容未定義,它不適用於我。我認爲我做錯了什麼,但我無法弄清楚什麼。 //change the window hash
var changeHash = function(a) {
document.location.hash = a
};
//get the scrollPos
var scrollPos = function(){
$(window).scroll