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!