magritton
12/9/2015 - 4:17 PM

JavaScript to create a unique id guid value.

JavaScript to create a unique id guid value.

function NewGuid()
{
	var sGuid="";
	for (var i=0; i<32; i++)
	{
		sGuid+=Math.floor(Math.random()*0xF).toString(0xF);
	}
	return sGuid;
}