The docs are being redone for the 1.4 release, so maybe this can be clarified.
> The syntax looks something like "url #some > selector". In particular, the url argument is split on the first space and anything after the space is considered to be the selector. > If the URL contains a space it should be escape()d. Meaning the space needs to be escaped as %20, not a Javascript escape, so that the split won't see it. > Default selector "body>*" always applies. Yeah, the current implementation doesn't work that way, and unfortunately I don't think it can. Just like other places where jQuery needs to parse HTML, what .load() does is take a <div> and assign the responseText to the <div>'s innerHTML property. The effect of that is that any element that is not valid inside a <div> may be stripped or parsed improperly by the browser. So, passing in a complete html document via responseText isn't really supported. -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@googlegroups.com. To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.