> If you're using it for the implementation, why not just short circuit
> it all with:
>
> var container = getElement('container');
> container.innerHTML = html;

it's not equivalent: it would be equivalent if you wrote

var container = getElement('container');
container.innerHTML+= html;

That's a tiny difference, but if the container already contains
elements I want to add to those. Now I used the += first, and then I
wondered why the events on previously added elements no longer
worked... seems the += made a copy and discarded the original,
including the connected events...

Ciao, Marc.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to