大家先把上面的代码保存到本地。保存为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>