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 ($) {
// ...
});
Copyright © 2021 Jogjafile Inc.
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/