I'm working on a modified slide-js file. There are two divs that fade and hide on hover that have anchors for previous and next.
Very simply if there is only 1 image I am trying to remove them like so:
log("removingNextPrevious");
$("div.information-next").remove();
$("div.information-previous").remove();
The console is logged, there are no errors yet these divs are still in the DOM and visible on screen. Ive changing the back colour but that doesn't work either.
Under what circumstances will elements not be removed from the DOM?
 
    