Hello, I have a div:
<div id="inner">
Some content...
</div>
Now I need to load some file into inner-block, but save it's old content.
$('#inner').load( 'pathToFile.html' );
Will replace old content of div.
Thanks.
So, as I understand my code should be:
old = $('#inner').html();
$('#inner').load( 'pathToFile.html' );
$('#inner').html( old + $('#inner').html() );
?