close

1.png

<html>
  <head>
    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>

<script type="text/javascript">  

 function add() {
var n=0;
var maxNum = 10;  
var minNum = 0;  
for(var i=1;i<=3;i++){  
    n = Math.floor(Math.random() * (maxNum - minNum + 1)) + minNum;  
    document.write(n + "<br />");  
}  

}

</script>
  </head>
  <body>
 <input type="button" value="submit" onclick="add()"/>
    <div id="piechart" style="width: 900px; height: 500px;"></div>

  </body>
</html>

arrow
arrow
    全站熱搜

    zxc1234567890666 發表在 痞客邦 留言(0) 人氣()