随笔分类 -  JavaScript

摘要:var lastReportTime = 0; //设置时间间隔 window.onload = function(){ setInterval(handleRefresh, 3000); } function handleRefresh(){ var url = "http://gumball.wickedlysmart.com" + "?callback=... 阅读全文
posted @ 2018-08-07 08:01 道高一尺 阅读(272) 评论(0) 推荐(0) 编辑
摘要:Mighty Gumball Mighty Gumball Sales function updateSales(sales){ var salesDiv = document.getElementById("sales"); for (var i = 0; i < sales.length; i++){ ... 阅读全文
posted @ 2018-08-06 08:24 道高一尺 阅读(197) 评论(0) 推荐(0) 编辑
摘要:window.onload = function(){ //var url = "http://localhost:8000/sales.json"; var url = "http://gumball.wickedlysmart.com"; //从JaveScript发出一个HTTP请求, 需要使用XMLHttpRequest对象 var request = n... 阅读全文
posted @ 2018-08-06 08:18 道高一尺 阅读(1037) 评论(0) 推荐(0) 编辑
摘要:robot 阅读全文
posted @ 2018-07-25 15:09 道高一尺 阅读(266) 评论(0) 推荐(0) 编辑
摘要:robot 阅读全文
posted @ 2018-07-25 15:03 道高一尺 阅读(1399) 评论(0) 推荐(0) 编辑
摘要:Dogadd2 阅读全文
posted @ 2018-07-25 14:40 道高一尺 阅读(138) 评论(0) 推荐(0) 编辑
摘要:Dogadd2 阅读全文
posted @ 2018-07-25 09:03 道高一尺 阅读(263) 评论(0) 推荐(0) 编辑
摘要:Dog 阅读全文
posted @ 2018-07-25 09:02 道高一尺 阅读(660) 评论(0) 推荐(0) 编辑
摘要:dog 阅读全文
posted @ 2018-07-23 18:31 道高一尺 阅读(148) 评论(0) 推荐(0) 编辑
摘要:Hidden 阅读全文
posted @ 2018-07-23 08:58 道高一尺 阅读(105) 评论(0) 推荐(0) 编辑
摘要:Title 阅读全文
posted @ 2018-07-23 08:31 道高一尺 阅读(169) 评论(0) 推荐(0) 编辑
摘要:Pirates Booty Move mouse to find coordinate.. 阅读全文
posted @ 2018-07-20 11:18 道高一尺 阅读(94) 评论(0) 推荐(0) 编辑
摘要:Image Guess 阅读全文
posted @ 2018-07-20 10:08 道高一尺 阅读(140) 评论(0) 推荐(0) 编辑
摘要:Typeof 阅读全文
posted @ 2018-07-19 20:26 道高一尺 阅读(127) 评论(0) 推荐(0) 编辑
摘要:charat 阅读全文
posted @ 2018-07-16 13:28 道高一尺 阅读(205) 评论(0) 推荐(0) 编辑
摘要:undefined null 0 NaN 空字符串 阅读全文
posted @ 2018-07-16 08:13 道高一尺 阅读(103) 评论(0) 推荐(0) 编辑
摘要:Typeof 阅读全文
posted @ 2018-07-15 16:19 道高一尺 阅读(136) 评论(0) 推荐(0) 编辑
摘要:Planets Green Planet All is well Red planet Nothing to report Blue planet All system A-OK 阅读全文
posted @ 2018-07-15 09:50 道高一尺 阅读(617) 评论(0) 推荐(0) 编辑
摘要:Cars 阅读全文
posted @ 2018-07-14 18:40 道高一尺 阅读(136) 评论(0) 推荐(0) 编辑
摘要://获取0-4整数 var randomLoc = Math.floor(Math.random() * 5); 阅读全文
posted @ 2018-07-10 22:15 道高一尺 阅读(166) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示