hybris77 wrote: > ponder something like this: > > var elements = $( '#template_elements' ).html(); > > $( elements ".mol_row" ).append( "<td>"+ molname +"</td>"); > > is that the correct way to add to a particular element inside a > cached > jQuery object? > > many thanks > > /pär >
You must swap the selector: $(".mol_row", elements).append("<td>"+ molname +"</td>"); Read again the documentation about selector, there are second parameter to define the search scope. -- Donny Kurnia http://hantulab.blogspot.com http://www.plurk.com/user/donnykurnia