<resultGroups>
<subGroups>
<results> </results>
<name></name>
</subGroups>
<subGroups>
<results> </results>
<name></name>
</subGroups>
<name>myname</name>
</resultGroups>
<resultGroups>
<subGroups>
<results> </results>
<results> </results>
<name></name>
</subGroups>
<subGroups>
<results> </results>
<results> </results>
<name></name>
</subGroups>
<name>othername</name>
</resultGroups>
how can i select the name tag of first resultGroup only using jquery???