Clone method don't clone changed value of input elements
Reported by Arkh | August 18th, 2008 @ 09:56 AM | in 1.3.0
I apologize if this problem is already known. When using clone() on an input element, the cloned element get the original value of the first element as value. Here is an example : whatever you put in the "kikoo" input element, the cloned one will have "polop" as value.
@@@html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Test
<input type="text" id="kikoo" name="kikoo" value="polop"/>
<input type="button" id="tester"/>
Comments and changes to this ticket
-

Arkh August 18th, 2008 @ 09:59 AM
- no changes were found...
-

Arkh August 18th, 2008 @ 09:59 AM
Sorry, the formating is totally wrong (this app needs some preview option). I'll just attach the example file.
-
Tom Occhino August 31st, 2008 @ 07:30 PM
- → State changed from new to resolved
fixed in new Element.clone
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
