上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: <div id="clock"></div> window.setInterval('showRealTime(clock)', 1000); function showRealTime(clock) { var d = new Date(); var year = d.getFullYear(); 阅读全文
posted @ 2019-07-23 18:08 时光博客 阅读(186) 评论(0) 推荐(0) 编辑
摘要: <div id="box">亲,准备好点名了吗?</div> <input type="button" value="开始点名" id="bt" onClick="doit()"/> var namelist = ["张三", "李四", "王五", "贺六", "孙九", "赵十", "刘一"]; 阅读全文
posted @ 2019-07-23 18:01 时光博客 阅读(251) 评论(0) 推荐(0) 编辑
摘要: <a href="javascript:;" onclick="copyText()">复制</a> <span id="text">222</span><input id="input"/> function copyText() { var text = document.getElementB 阅读全文
posted @ 2019-07-23 14:14 时光博客 阅读(157) 评论(0) 推荐(0) 编辑
摘要: //刷新地方的ID,后面ID前必须加空格 $("#gwc").load(location.href + " #gwc"); 阅读全文
posted @ 2019-05-05 17:41 时光博客 阅读(4999) 评论(1) 推荐(2) 编辑
摘要: 基于 Token 的身份验证方法 使用基于 Token 的身份验证方法,在服务端不需要存储用户的登录记录。大概的流程是这样的: 客户端使用用户名跟密码请求登录 服务端收到请求,去验证用户名与密码 验证成功后,服务端会签发一个 Token,再把这个 Token 发送给客户端 客户端收到 Token 以 阅读全文
posted @ 2019-01-30 11:24 时光博客 阅读(308) 评论(0) 推荐(0) 编辑
摘要: http://localhost:62683/youli/product.htm#0 alert(GetRequest()); //获取#号值 function GetRequest() { var str = location.href var num = str.indexOf("#"); st 阅读全文
posted @ 2019-01-29 11:17 时光博客 阅读(4245) 评论(0) 推荐(0) 编辑
摘要: <img src="http://img.zcool.cn/community/01c92f56597f686ac7251c94e76e51.jpg" /> <img src="http://img.zcool.cn/community/01888f5922bad7b5b3086ed4cc3711. 阅读全文
posted @ 2019-01-26 11:43 时光博客 阅读(4098) 评论(1) 推荐(1) 编辑
摘要: <img src="{*Pic}" alt="" onclick="palyabout('v1','iframe的src链接')"> <style> .videoss { width: 100%; margin: 0 auto; padding-top: 5%; } .videomains { po 阅读全文
posted @ 2018-12-28 10:15 时光博客 阅读(930) 评论(0) 推荐(0) 编辑
摘要: sessionStorage保存session 浏览器关闭自动清空 // 保存数据到sessionStorage sessionStorage.setItem('key', 'value'); // 从sessionStorage获取数据 var data = sessionStorage.getI 阅读全文
posted @ 2018-12-11 16:40 时光博客 阅读(5950) 评论(0) 推荐(0) 编辑
摘要: 转载:https://blog.csdn.net/ghjzzhg/article/details/73607565 阅读全文
posted @ 2018-12-10 10:46 时光博客 阅读(536) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页