title: Check duplicate combination of inputs
body: <pre><code>&lt;div&gt; &lt;!--first combination--&gt;
    &lt;input type="text" name="color[]" value="red" /&gt;
    &lt;input type="text" name="size[]" value="small" /&gt;
    &lt;input type="text" name="kind[]" value="plastic" /&gt;
  &lt;/div&gt;
  
  &lt;div&gt; &lt;!--second combination--&gt;
    &lt;input type="text" name="color[]" value="red" /&gt;
    &lt;input type="text" name="size[]" value="big" /&gt;
    &lt;input type="text" name="kind[]" value="plastic" /&gt;
  &lt;/div&gt;
  
  &lt;div&gt; &lt;!--third combination--&gt; 
    &lt;input type="text" name="color[]" value="red" /&gt;
    &lt;input type="text" name="size[]" value="small" /&gt;
    &lt;input type="text" name="kind[]" value="plastic" /&gt;
  &lt;/div&gt;
  
  &lt;!--other combination might be here--&gt;
  </code></pre>
  
  <p>In my HTML input values, noticed that first and third combination are exactly the same, how to achieve this in <code>jQuery</code> for me to check if there are duplicates combination?</p>
  
  <p>Samle code only to check individual duplicate inputs</p>
  
  <pre><code> $('input').each(function () {
      var $duplicate = $('input[value=' + $(this).val() + ']');
       console.log($duplicate.length &gt; 1);
    });
  </code></pre>
  
  <p><a href="https://jsfiddle.net/4kzks47r/" rel="nofollow noreferrer">HTML fiddle</a></p>