Study Notes of JQuery

文档就绪函数

JQuery的函数“$(function() {})”的含义及与“$(document).ready(function(){})”的区别

What does $(function() {} ); do?

jQuery 语法

1
$(function() { ... });

is just jQuery short-hand for

1
$(document).ready(function() { ... });