[JS8] 显示从(0,0)到(0,0)的坐标

时间:2014-05-14 12:24:44   收藏:0   阅读:255

 

bubuko.com,布布扣
 1 <html>
 2 <head>
 3     <title>JS Unleashed</title>
 4 </head>
 5 <body>
 6     <SCRIPT TYPE="text/JavaScript">
 7         <!--
 8             //写一个标题
 9             document.write("显示从(0,0)到(0,0)的坐标:<br>");
10             for(var x=0;x<10;x++){
11                 for(var y=0;y<10;y++){
12                     document.write("("+x+","+y+"),");
13                 }
14                 document.write(<br>);
15             }
16         //-->
17     </SCRIPT>
18 </body>
19 </html>
bubuko.com,布布扣

 

[JS8] 显示从(0,0)到(0,0)的坐标,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!