I am trying to load html content from another page via .load(). For example:
$('#myDiv').load('/myPage.aspx .anotherDiv *');
When I retrieve the content from .anotherDiv it renders the html incorrectly. For example,
<p><strong>text</strong></p>
renders like this
<p></p>
<strong>text</strong>
Some how the "p" element is getting unwrapped then prepends to its original "strong" child element.
Any thoughts?
.loadis URL which seems to be incorrect in your post. Just a comment.