how to compare each record with previous record in a same list using javascript?

Printable View