当前位置:Gxlcms > JavaScript > javascript GUID生成器实现代码

javascript GUID生成器实现代码

时间:2021-07-01 10:21:17 帮助过:4人阅读

/jslib/other/IntUtil_post.js
大家先把上面的代码保存到本地。保存为IntUtil_post.js
测试代码:
代码如下:
<script language="javascript" src="IntUtil_post.js"></script>
<script language="javascript">
<!--
alert($System.Math.IntUtil.genGUID());
alert($System.Math.IntUtil.genGUIDV4());
alert($System.Math.IntUtil.genRandomString(5));
//-->
</script>

人气教程排行