Difference between the two code?

On Nov 6, 12:36 pm, Satyakaran <[EMAIL PROTECTED]> wrote:
>         function load() {
>                 //jQuery(function($) {
>                         $("#div1").load("starterkit.html");
>                 //});
>         }
>
> OR
>
> function load() {
>         jQuery(function($) {
>                 $("#div1").load("starterkit.html");
>         });
>
> }
>
> Can you tell me what is the difference between the two. I know both
> works.
> So, which one should I use. I am talking about the commented code on
> first snippet.
> Thanks!

Reply via email to