<div class="abc"> foo <strong>FOO</strong> </div> <div class="def"> bar </div>
–
var $mySet = $('div');
鉴于$mySet,您将如何返回上面的纯HTML?
var html = $mySet[0].outerHTML; // note HTML is all caps... that always burns me