i think i understand the problem, but how can i wrok with the divs?
what's the most elegant way to get this workin?

On 13 Aug., 23:09, Sanford Whiteman <[email protected]>
wrote:
> More options:
>
> http://www.jsfiddle.net/ZXrC6/2/
>
> @penter,  until  injected  into  the  DOM, the response is an isolated
> nodelist.  You  can't  use  -ById  or -byClassName (or any convenience
> methods  that wrap those native methods) because those methods require
> that  the  nodes  have  a DTD that defines 'class' and 'id' as special
> attributes.  (It  is  possible  to load a DTD for isolated collections
> and/or  foreign  documents, but don't even bother trying this for your
> application).
>
> -byTagName  --  Oskar's  getElement('a')  --  will  still  work on the
> isolated  nodelist,  as  will  a  dumb  attribute  selector as in my 2
> addenda.  Note  that a dumb attribute selector is not optimal for very
> large  collections  since  any high-performance indexing on special id
> and class won't be used.

Reply via email to