I want to make a simple timer that counts up in javascript. When my ajax runs successfully, it should start and the result should be like this
1 sec ago
2 sec ago
.
.
1 min ago (for 60 sec)
2 min ago (for 60 sec)
... and so on
I am googling and I can't find any such timer. Any suggestions?