Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #39035
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: check is referenced element still exists |
| Date | 2020-10-23 21:35 +0200 |
| Organization | PointedEars Software (PES) |
| Message-ID | <1838941.PYKUYFuaPT@PointedEars.de> (permalink) |
| References | <bqudnUDYr6wRRA3CnZ2dnUU7-LXNnZ2d@westnet.com.au> <1fwp7byxju1hn$.ugackqir7itz$.dlg@40tude.net> <75959220-d5e9-49fa-b8c7-3037966df23bn@googlegroups.com> |
Michael Haufe (TNO) wrote: > On Thursday, October 22, 2020 at 2:22:34 AM UTC-5, JJ wrote: >> 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. > > node.isConnected exists now: > > <https://developer.mozilla.org/en-US/docs/Web/API/Node/isConnected> Thanks. -- PointedEars FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
check is referenced element still exists Andrew Poulos <ap_prog@hotmail.com> - 2020-10-22 11:59 +1100
Re: check is referenced element still exists Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-10-22 03:59 +0200
Re: check is referenced element still exists JJ <jj4public@gmail.com> - 2020-10-22 14:22 +0700
Re: check is referenced element still exists Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-10-22 14:14 +0200
Re: check is referenced element still exists "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-10-22 11:35 -0700
Re: check is referenced element still exists Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-10-23 21:35 +0200
csiph-web