It works only if I clone the events for each children of the <tr>.
http://www.jsfiddle.net/jR3w8/13/
            var productInTheCart = orderTr[i].clone();
 
productInTheCart.getElement('input').cloneEvents(orderTr[i].getElement('input'));

Is it possible to clone automatically all the events of the children
of a parentNode?
Thank you

On 17 Feb, 09:31, Lorenzo De Tomasi <[email protected]>
wrote:
> I think I have done it, but it doesn't work...
>
> <http://www.jsfiddle.net/jR3w8/12/>:
>             var productInTheCart =
> orderTr[i].clone().cloneEvents(orderTr[i]);
>
> <http://www.jsfiddle.net/jR3w8/13/>:
>             var productInTheCart = orderTr[i].clone();
>             productInTheCart.cloneEvents(orderTr[i]);
>
> Thank you for any help! :-)

Reply via email to