i am new to jQuery.
i have list element as follows.
<ul>
<li>
<a href="abc">ABC</a>
</li>
<li> <!-- I want to remove this element-->
<ul>
<li>
<a href="def">DEF</a>
</li>
<li>
<a href="ghi">GHI</a>
</li>
</ul>
</li>
</ul>
i want to remove LI element (commented in above sample) which has GHI anchor tag using jQuery. or in other ways i want to remove that element based on the href property or text contained in the anchor tag.
Please help