It's called context. Using your example, if you wanted to select all items with a class of .mol_row INSIDE the jQuery object mol_elements, you'd do this:
$(".mol_row", mol_elements) That selector says "look for .mol_row in the context of mol_elements. Andy matthews -----Original Message----- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of hybris77 Sent: Thursday, April 16, 2009 3:48 AM To: jQuery (English) Subject: [jQuery] how to select elements inside jQuery objects i've tried to do the following on a grand scale the last few days, please help my suggestion to select a classname inside a object containing the xhtml $( mol_elements ".mol_row" ).append( "<td>"+ molname +"</td>"); I was then suggested the following, but that selects BOTH class and element, right? $( ".mol_row", mol_elements ).append( "<td>"+ molname +"</td>"); how to select the classname inside the object then? /pär