I know in jQuery, $(callback)
is the same as jQuery(callback)
which has the same effect as $(document).ready()
.
How about
jQuery(function($) {
});
Can some one explain to me what does this kind of function mean?
What does it do?
what is the difference between this one and $(callback)
??
what is the difference between this one and $(function())
??