- From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Date: Fri, 03 Feb 2006 10:14:48 +1100
Blanchard, Todd wrote: > What I want to know is: if the "cloned" node has an id attribute, > and id is meant to be unique, then how do we resolve this conflict? > I mention this because bad html and duplicate id's in documents have > caused havoc when trying to build javascript applications. The ID attributes need to be duplicated in such cases, that's what existing browsers do. Although it may cause trouble with some scripts that use getElementById() and depend on there only being one instance, it is up to the markup author to fix that. -- Lachlan Hunt http://lachy.id.au/
Received on Thursday, 2 February 2006 15:14:48 UTC