On click, a div is appended, on second click another div is created with the same contents making it an exact duplicate.
Q: How do i destroy the previous div when a new one is created?
$(document).on('click', '.LibSectOpen', function() {
var LibSect = ($(this).find('.SectionName').html())
$(this).find('.SectionName').empty()
$(this).append('<div class="LibraryBooks BooksHolder"><img height="30" width="30" class="LibraryBooksGIF" src="../images/ic_loading.gif"></div>').load(function(e) {
});