Auto increment ID in JavaScript

Is there a way to get the last greatest ID in a table and then increment off of that for the next row of data?
Was this page helpful?