[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    DOM and form cloning
From:       Arnaldo Candido Junior <arnaldoc () icmc ! usp ! br>
Date:       2007-11-29 2:52:03
Message-ID: 474E2953.8070604 () icmc ! usp ! br
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic