JSREF

HTML DOM Element isEqualNode()

Check if two list items in two different lists are equal: