You have to use cloneEvents, too.

var myClone = myElement.clone();
myClone.cloneEvents(myElement);

On Tue, Feb 16, 2010 at 3:30 AM, Lorenzo De Tomasi <
[email protected]> wrote:

> Ciao,
> I'm developing a simple ecommerce cms for indipendent musicians,
> released under a GPLv3 license.
> I'm working on the cart <http://www.jsfiddle.net/jR3w8/12/>
> Why when I clone a <tr> fron the order table to the cart table, the
> event .addEvent('change',function() {  totalUpdate(this); }) is not
> cloned/doesn't work?
>
> Thank you very much.
>

Reply via email to