<div> <!--first combination-->
<input type="text" name="color[]" value="red" />
<input type="text" name="size[]" value="small" />
<input type="text" name="kind[]" value="plastic" />
</div>
<div> <!--second combination-->
<input type="text" name="color[]" value="red" />
<input type="text" name="size[]" value="big" />
<input type="text" name="kind[]" value="plastic" />
</div>
<div> <!--third combination-->
<input type="text" name="color[]" value="red" />
<input type="text" name="size[]" value="small" />
<input type="text" name="kind[]" value="plastic" />
</div>
<!--other combination might be here-->
In my HTML input values, noticed that first and third combination are exactly the same, how to achieve this in jQuery
for me to check if there are duplicates combination?
Samle code only to check individual duplicate inputs
$('input').each(function () {
var $duplicate = $('input[value=' + $(this).val() + ']');
console.log($duplicate.length > 1);
});