This is a little funtion for creating autogenerated Ids
//Declare some variables
var rand
var anotherNumber
var str
var myDate
var strDate
var text
rand= Math.random();
anotherNumber = rand + '';
str = anotherNumber.substr(2,4);
myDate = new Date();
strDate = myDate.getMonth() + '' + myDate.getDate() + '' + myDate.getYear();
text = 'yourResumedEntity'+ strDate + str;
Kind of simple, but worked














Recent Comments