Event agent removes the error problem of child elements

clipboard.png

for help.


Brother dei, removeChild is a child element that removes an element. If you remove the parent element from the child element, of course you report an error. And the reason for reporting the error has been written in detail


read the comments upstairs. If the level is ul > li > div > em , then subNode = e.target.parentNode.parentNode :
e.target is em
e.target.parentNode is div
e.target.parentNode.parentNode is li

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b321e4-2bde0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b321e4-2bde0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?