Yeah holy cow, I meant , not . It's a strange edge case, I'm
sure even wanting to do such a thing most of the time might indicate
poor design. I'm injecting UI into arbitrary pages and want to style
it without damaging the host page. Because of the way my style
extension works, dynamic rules are
Have you tried those?
There's no reason why
$( pa, $( div ) );
wouldn't find all a that are direct descendants of p tags inside
div tags
On Oct 22, 2:43 pm, Dan Finch [EMAIL PROTECTED] wrote:
If there's a way, what would it take to be able to use complex
selectors (those with , ~, ,
You're right, I do that all the time :). I'm getting my side effects
mixed up. What I can't actually do is match against ancestors of the
context. For example, $( .L1.L4, $( .L3 ) ), where the n
represents the level of DOM depth.
On Oct 22, 2:38 pm, MorningZ [EMAIL PROTECTED] wrote:
Have you
Following your logic, an L4 element will never be a direct child of an
L1, so that would always return 0. Also you don't need two objects to
do what you were trying at first, you can do $('some thing',
'#inhere')
Let me see if I understand you. Given the following mark-up:
body
div class=L1
4 matches
Mail list logo