views:

63

answers:

1

Can jQuery be extended so that I can use the above syntax?

I can't figure out how to prototype whatever it is $() returns, so that I can call $().$()

Thanks.

+4  A: 

you can use find()

eg: $('.superset').find('.within');

or much simpler, $('.superset .within');

nickf
Ah. It's called find. Thanks!
Sam