日期:2014-05-16 浏览次数:20413 次
<script> document.onready = function(){ document.getElementsByTagName("div")[0].id = "ID" + Math.random().toString().replace(".", ""); } </script> <body> <div></div> </body>