lest say that this is my div:
<div id="success">
<a href="/index.php">link1</a>
<a href="/index.php">!AnotherLink!</a>
<a href="cat.php">link3</a>
</div>
I want to romove any link from success div that is the same “href”
It should be like this:
<div id="success">
<a href="/index.php">link1</a>
<a href="cat.php">link3</a>
</div>
This should work:
http://jsfiddle.net/fDPsH/