I have a bunch of note div
s in the following format:
<div class="note-row" id="1">
<div class="note-row" id="2">
<div class="note-row" id="4">
<div class="note-row" id="5">
<div class="note-row" id="6">
How would I get the largest id
using javascript? So far I have:
$('.note-row').each(function() {
??
});