[Greasemonkey] Re: Cloning a DOM Object including its events

Dan Phiffer dan at phiffer.org
Mon Oct 3 10:31:37 EDT 2005


Maybe just scour the DOM specs for each event and test for each on a  
cloned object?

-Dan

On Oct 3, 2005, at 3:30 AM, Mor Roses wrote:

> Is there no way to do it?
>
> On 9/29/05, Mor Roses <moroses at gmail.com> wrote:
>
>>
>> I have been trying to make a DOM "template" so that i can just do:
>> obj.appendChild(template.cloneNode(true))
>> and that it will clone it including its events.
>> does anyone know how to do it?
>>
>>
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>



More information about the Greasemonkey mailing list