jQuery remove not removing element -


i'm working on modified slide-js file. there 2 divs fade , hide on hover have anchors previous , next.

very if there 1 image trying remove them so:

log("removingnextprevious"); $("div.information-next").remove(); $("div.information-previous").remove(); 

the console logged, there no errors yet these divs still in dom , visible on screen. ive changing colour doesn't work either.

under circumstances elements not removed dom?

try code :

$(function() {     $("div.information-next, div.information-previous").remove(); }) 

Comments