From kfm-devel Thu Nov 29 02:52:03 2007 From: Arnaldo Candido Junior Date: Thu, 29 Nov 2007 02:52:03 +0000 To: kfm-devel Subject: DOM and form cloning Message-Id: <474E2953.8070604 () icmc ! usp ! br> X-MARC-Message: https://marc.info/?l=kfm-devel&m=119630479611135 Hi Everyone I having problems to clone a form in Konqueror with DOM. The javascript code that I used looks like this: var myClone = document.getElementById("myDiv").cloneNode(); document.getElementByid("myDiv2").appendChild(myClone); The form is cloned, but the values in its text boxes just disappear. Is this the correct way to clone a form? Thanks in advance, Arnaldo