PDA

View Full Version : Jquery remove,empty or removeChild doesn't work..any ideas?



tedteeter
02-09-2015, 09:00 PM
Greetings,
Briefly, I have a div that recieves a dozen or so smaller divs which contain thumbnails, images which are loaded upon a menu selection. All appear fine and appropriately rotated as I had planned, however, upon another menu selection the recieving div doesn't lose the previous divs containing the previous thumbnails even after I have tried a dozen processes such as removeChildren, Jquery remove and empty etc! I did find brief success with a snippet that removed everything as desired but upon utilizing createElement to recreate the element, the div with a unique important id, all the previous contents reappeared with the div re-creation? Any ideas?

Appreciatively,
Ted

molendijk
02-10-2015, 10:39 AM
Please give us a link to the problematic page, or its source.