jquery xml select
- by Geln
hi,
How to select items whose sub-tag key's text starts with '001'?
<root>
<item>
<key>001001</key>
<text>thanks</text>
</item>
<item>
<key>001002</key>
<text>very</text>
</item>
<item>
<key>002001</key>
<text>much</text>
</item>
</root>
$(xml).find("item>[filter string]").each(function()
{
alert(this);
});