Path: csiph.com!weretis.net!feeder8.news.weretis.net!news.mb-net.net!open-news-network.org!.POSTED.76.228.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: check is referenced element still exists Date: Thu, 22 Oct 2020 14:14:48 +0200 Organization: PointedEars Software (PES) Lines: 12 Message-ID: <2119550.iZASKD2KPV@PointedEars.de> References: <1fwp7byxju1hn$.ugackqir7itz$.dlg@40tude.net> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit Injection-Info: gwaiyur.mb-net.net; posting-host="76.228.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch:178.197.228.76"; logging-data="4707"; mail-complaints-to="abuse@open-news-network.org" User-Agent: KNode/4.14.10 Cancel-Lock: sha1:EQVSVZWtMh3N4E7H8JxhSUTKjAI= X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. Check the element's `parentNode` property. It'll be `null` if it's not > placed into the document. Be sure to check the property of the removable > element, and not any of its child element. … or, in general, child *nodes*, which includes text nodes. -- PointedEars FAQ: | | Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.