Understanding the different uses of the load method with jquery
What are the biggest differences or benefits between the ways that the load method are used below....
I've seen some people do this...
- $('#wrapper').append($("<div>").load(mfooterwrapper));
While I've seen other peoeple use this style...
- $("<div>").load(mfooterwrapper, function() {
- $("#wrapper").append($(this));
- });
Thanks for any advice!
*Break through the ice and never look back*