摘要: var arr = [];var ff = true;//建立一个标志位for(var i = 0;i < 7;i++){ var a = parseInt(Math.random()*35+1);//随机生成一个1-36的数 for(var n in arr){//数组遍历 if(arr[n] = 阅读全文
posted @ 2018-01-09 17:25 杨不凡 阅读(551) 评论(1) 推荐(0) 编辑
摘要: <!doctype html><html><head><meta charset="utf-8"><title>四个随机数</title> <style> #dd{ display: inline-block; width: 100px; height: 20px; background-color 阅读全文
posted @ 2018-01-09 17:23 杨不凡 阅读(1177) 评论(0) 推荐(0) 编辑
摘要: <!doctype html><html><head><meta charset="utf-8"><title>打分拓展</title><script type = "text/javascript"></script></head> <body> <table> 第<span>2</span> 位 阅读全文
posted @ 2018-01-09 08:31 杨不凡 阅读(127) 评论(0) 推荐(0) 编辑