<div class="codetitle"> <span><a style="CURSOR: pointer" data="76549" class="copybut" id="copybut76549" onclick="doCopy('code76549')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code76549"> <br> <br><boby> <br> <br><br><script language="javascript"> <BR>window.onload = function(){ <BR>var arr = ["太阳光大、父母恩大、君子量大、小人气大","成功是优点的发挥,失败是缺点的累积","不要小看自己,因为人有无限的可能", <BR>"口说好话、心想好意、身行好事","原谅别人就是善待自己","手心向下是助人,手心向上是求人;助人快乐,求人痛苦" <BR>]; <br><br>var index = Math.floor((Math.random()*arr.length)); <BR>alert(arr[index]); <br><br>} <BR></script> <br></boby> </div>