Hi, > IDs are supposed to be unique per the spec. jQuery shouldn't have to > hack/deal with invalid markup.
jQuery has a context-parameter: <div id="IamAllreadyKnown"><div id="42">asdf</div></div> $('#42',known) -> should find one element <div id="IamAllreadyKnown"></div><div id="42">asdf</div> $('#42',known) -> should find no elements but currently does find one Christof _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/