Posted By

EkTrOn on 02/12/10


Tagged

unique id


Versions (?)

Generate Unique IDs in JavaScript


 / Published in: JavaScript
 

URL: http://forumsblogswikis.com/2008/05/26/how-to-generate-a-unique-id-in-javascript/

  1. function uniqid() {
  2. var newDate = new Date;
  3. return newDate.getTime();
  4. }

Report this snippet  

You need to login to post a comment.