@Dreed, could you maybe be a little more specific about why you need
to do this in jQuery? A recursive function would be trivial (I can't
see how it's brute force) and you could make it generic such that
'tags' are created out of the classnames, no matter what they are.
On Mar 3, 3:53 pm, ricardo
Not showing your js function doesn't help much.
All .group are descendants of .map, it's not about context.
Maybe you want this (rough):
$('.map').each(function(){
var xml = '';
$(this).find('> .group').each(function(){
xml += '';
$(this).find('> .group').each(function(){
xml += '';
2 matches
Mail list logo