Hi,
Is there any way that i can get the list of all child nodes of a
selected node which are of a particular type?
type:
$(NODE).attr("rel")--gets the type of a particular node
my xml tag:
<item id="2" parent_id="1" rel="type"><content><name >child</name></
content></item>
i tried something like this, not worked.. pls help
var leafletnodes= new Array();
$(NODE).find(("li").attr("rel")=="type").each(function (i) {
leafletnodes.push(
this.id);
});