Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #33728

Re: cloneNode

Newsgroups comp.lang.javascript
Subject Re: cloneNode
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <e7792c44-f4ee-4706-a5c1-939cfe5b165c@googlegroups.com>
Date 2017-08-09 16:04 +0200
Message-ID <XnsA7CCA3728C825eejj99@194.109.6.166> (permalink)

Show all headers | View raw


justaguy <lichunshen84@gmail.com> wrote on 08 Aug 2017 in
comp.lang.javascript: 

> I wonder if there's any way such as inserting a new element with id to a
> cloned node?  Thus, to be able to differentiate them. 

You must by now know an is is only valid once.

So your code MUST id the clone nd its descendants with unique ids,
or clear ab=ny duplicate.


-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

cloneNode justaguy <lichunshen84@gmail.com> - 2017-08-08 12:25 -0700
  Re: cloneNode "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-08-09 16:04 +0200
  Re: cloneNode JJ <jj4public@vfemail.net> - 2017-08-09 23:26 +0700
    Re: cloneNode Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-08-09 23:43 +0200
    Re: cloneNode justaguy <lichunshen84@gmail.com> - 2017-08-09 18:48 -0700

csiph-web