title: Get last div with the same data- attribute
body: <p>How can I select the last div from div groups with the same data-id?
  I tried to use .last and get last div with :contains but didn't worked.</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div class="rentals_reservation" data-id="3407"&gt;Booking id: 3407&lt;/div&gt;
  &lt;div class="rentals_reservation" data-id="3407"&gt;Booking id: 3407&lt;/div&gt;
  *&lt;div class="rentals_reservation" data-id="3407"&gt;Booking id: 3407&lt;/div&gt;
  &lt;div class="rentals_reservation" data-id="3227"&gt;Booking id: 3227&lt;/div&gt;
  &lt;div class="rentals_reservation" data-id="3227"&gt;Booking id: 3227&lt;/div&gt;
  *&lt;div class="rentals_reservation" data-id="3227"&gt;Booking id: 3227&lt;/div&gt;
  </code></pre>
  
  <p>jQuery:</p>
  
  <pre><code>$(".rentals_reservation").each(function(i, value) {
          var id = $(value).attr("data-id").;
          console.log(id);
      })
  </code></pre>