Create token on textbox focusout

Your question is not formulated correctly but I think this is what you are looking for this:

https://code.google.com/p/crypto-js/

You can create all kinds of tokens

Or generate a random number:

var rand = function () {
  return Math.random().toString(36).substr(2); // remove `0.`
};

var token = function () {
  return rand() + rand(); // to make it longer
};

token(); // "bnh5yzdirjinqaorq0ox1tf383nb3xr"

Source: Already Answered

Browse More Popular Posts

Leave a Comment