jquery array: find elements that appear twice in the array
- by tsiger
For a markup like this:
<div id="set1">
<div id="100">a div</div>
<div id="101">another div</div>
<div id="102">another div 2</div>
<div id="120">same div</div>
</div>
<div id="set2">
<div id="105">a different div>
<div id="101">another div</div>
…