公式 | http://jquery.com/ |
リファレンス(日本語) | http://semooh.jp/jquery/ |
リファレンス(英語) | http://api.jquery.com/ |
jQueryではどれを使ってもDOMを構築し終えたタイミングで処理の実行が可能。
$(document).ready(function(){ /*実行したい処理*/ }); $().ready(function(){ /*実行したい処理*/ }); $(function(){ /*実行したい処理*/ });
コメントをかく