Can jQuery be extended so that I can use the above syntax?
I cannot figure out how to prototype everything that $ () returns, so that I can call $ (). $ ()
Thank.
you can use find()
find()
eg: $('.superset').find('.within');
$('.superset').find('.within');
or much easier, $('.superset .within');
$('.superset .within');
Yes!
$.fn.$ = $.fn.find;
Now you can use .$()
.$()