Hi guys,

new to jQuery here..
I am trying to query xml using jquery
and having some problem

I need to query all the node under node A with name="test"
if I do
$("A").find(*[name=test])
it will return b,b1,c, d

How do I query using "selector" to get only immediate child so
I can get b,c,d (no b1) ???

help would be really appreciated !

Thanks

example :

<A>
   <b name="test">
      <b1 name="test"/>
   </b>
   <c name="test"/>
   <d name="test"/>
   <e name="somethingelse" />
</A>

Reply via email to