thanks for looking,
I've got a situation where I want to .load() multiple divs from a static file. I recently found and read this SO question: jquery-multiple-load-in-a-div. The options were either
$('<div>').load('static.html #div1,#div2,...');
or
$.get('static.html',...,function(){
$responseHTML.find('#div1').appendTo(...);
$responseHTML.find('#div2').appendTo(...);
});
I'm pefectly happy to use either, but I wanted to know a bit more about the theory behind it. Am I right in thinking that '.load()' is probably doing the exact same thing as the '.get()' behind the scenes? Does that mean the .get() is faster?
Any other insights would be appreciated. CB.