Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!zen.net.uk!dedekind.zen.co.uk!aioe.org!.POSTED!not-for-mail From: Cezary Tomczyk Newsgroups: comp.lang.javascript Subject: Clone node with events Date: Thu, 10 Jan 2013 12:33:45 +0100 Organization: Aioe.org NNTP Server Lines: 9 Message-ID: NNTP-Posting-Host: zYd0PXwpR9QMvAmoEDGsiw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.javascript:18049 "Cloning a node copies all of its attributes and their values but does not copy event listeners." - https://developer.mozilla.org/en-US/docs/DOM/Node.cloneNode Any idea how to in an efficient and proper way clone node with events? -- Cezary Tomczyk http://www.ctomczyk.pl/