Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Querying Document Fragment

$
0
0
If you're using jQuery, it itself doesn't support queries within document fragments -- I think I'm wrong about that: simple navigation seems to work (.children(), .first(), etc) but the full sizzle engine doesn't seem to work for me.

If you don't need IE7, you might be able to use querySelectorAll on the raw node itself:
  1. can.$( frag.querySelectorAll(' ... ') )



Viewing all articles
Browse latest Browse all 3491

Trending Articles