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()
$()
Jquery documentation: http://learn.jquery.com/using-jquery-core/
It means, "treat this
$as if I were callingjQuery()when I use$()anywhere inside this anonymous function."Jquery documentation: http://learn.jquery.com/using-jquery-core/