.ready()
[概要]
ページロード時に実行
[文法1]
$(document).ready(function() {
〜
});
[文法2]
$(function() {
[文法3]
jQuery(document).ready(function() {
[備考]
$ = jQuery