I recently found an interesting forum post which detailed how to generate GUIDs using JavaScript on the fly. Its very simple and looks as follows:
function S4() {
return (((1+Math.random())*0×10000)|0).toString(16).substring(1);
}
return (((1+Math.random())*0×10000)|0).toString(16).substring(1);
}
function generateGuid(){
return (S4()+S4()+"-"+S4()+"-"+S4()+"-"+S4()+"-"+S4()+S4()+S4()).toUpperCase();
}
Originally posted by Dr John Stockton on thescripts.com.


No Comment Received
Leave A Reply