What does the below line mean? It passes function($) as a parameter into jQuery?
jQuery(function ($) {
// ...
});
What does the below line mean? It passes function($) as a parameter into jQuery?
jQuery(function ($) {
// ...
});
It means, "treat this $ as if I were calling jQuery() when I use $() anywhere inside this anonymous function."
Jquery documentation: http://learn.jquery.com/using-jquery-core/