title: Select Element with Data Attribute
body: <p>I have following markup</p>
  
  <pre><code>&lt;div class="cloneLayoutSelect"&gt;
      &lt;div class="col2"&gt;
          &lt;select name="ingredients[0][name]" id="ingredient" class="select" data-multi-column="true" data-label="Ingredient"&gt;
              &lt;option value="0"&gt;Carrot&lt;/option&gt;
              &lt;option value="1"&gt;Milk&lt;/option&gt;
              &lt;option value="2"&gt;Yogurt&lt;/option&gt;
          &lt;/select&gt;
      &lt;/div&gt;
      &lt;div class="col2"&gt;&lt;input name="ingredients[0][quantity]" id="quantity" class="form-control" placeholder="Quantity" data-multi-column="true" data-label="Quantity" value="" type="text"&gt;&lt;/div&gt;
      &lt;div class="col1 text-right"&gt;&lt;button class="btn btn-default multi-column-2"&gt;&lt;i class="fa fa-plus"&gt;&lt;/i&gt;&lt;/button&gt;&lt;/div&gt;
      &lt;div class="clearfix clear"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>On click of <code>button.multi-column-2</code> I want to</p>
  
  <ul>
  <li>Get all elements within the parent div <code>cloneLayoutSelect</code> and which has the data attribute of <code>data-multi-column="true"</code></li>
  <li>Get value of <code>data-label</code> of individual element from the previous match</li>
  <li>Get <code>input/select/radio/checkbox</code> value of individual element from the previous match</li>
  </ul>
  
  <p>I tried the following:</p>
  
  <pre><code>var elements = $('*[data-multi-column="true"]');
  $.each(elements, function(index, htmlElement) {
      var element = $('&lt;div&gt;&lt;div/&gt;').html(htmlElement).contents();
  });
  </code></pre>
  
  <p>Although it returns me desired result, i have two problems with this</p>
  
  <ol>
  <li>It searches in all html markup, which is not what i want, I want to only search it within its parent element <code>cloneLayoutSelect</code>.</li>
  <li>It removes all html within <code>&lt;div class="col2"&gt;</code> </li>
  </ol>
  
  <p>Any help or pointers is appreciated.</p>
  
  <p>Thanks.</p>