2010-12-16 31 views

回答

0

誰會有thunk? jQuery

jQuery(function ($) { 
    // gets executed on page load 
}); 
0

無。

你是誰在說jQuery該怎麼做。

家居的jQuery的起點大多是開始:

$(document).ready(function() { 
    // your code here 
}); 

但我主要是說,因爲有很多其他的方式來開始執行jQuery代碼。

0
$(document).ready(function() { 
alert("loaded") 
}); 
相關問題