I dynamicly get divs at the end of an ajax call. Some of those divs have the same html content. I wish to write a code that will display only one div per unique content.
Find divs with the same content and only display one of them. So far I have:
onAjaxComplete: function () {
    $("div.autocomplete-suggestions > .autocomplete-suggestion").each(function() {
        while ($(this).html()) {
            //DO SOMETHING HERE       
    }
});
autocomplete-suggestion is a class name of my divs with the same content.