[jQuery] improve/extend the selectors
Hi All
I need some help with the following:
Suppose I have the following object
var obj = new XYZ() ;
Now I want to do:
$("div", obj).each(function(){.....}) ;
Now, of course, jquery will throw an error because it doesn't know
what to do with 'obj'. So I want to add/extend jquery, so it knows how
to treat 'obj'. Can this be done ? Is there documentation explaining
how to do this ?
thnx a lot
LuCa