---
title: "简单的生成随机数"
author: "KJ"
date: "2010-03-02T16:30:12Z"
tags: []
categories: ["编程语言"]
slug: "untitled"
draft: false
lastmod: "2010-03-02T16:30:12Z"
id: 605847
url: "https://guidao.iteye.com/blog/605847"
---

```java
<html>
<head>
<script language="javascript" >
 window.onload=sett
 function sett(){
 document.body.innerHTML=Math.random();
 setTimeout("sett()",500);
 }

</script>
</head>
<body>


</body>
</html>

```