![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js源代码
wendy0818
这个作者很懒,什么都没留下…
展开
-
JavaScript随机抽奖
html> html> head lang="en"> meta charset="UTF-8"> title>随机抽奖title> style> .box{width:600px;height:500px;margin:0 auto;border:dashed #ccc 2px;} button{width:120px;height:40p原创 2016-12-03 19:47:41 · 610 阅读 · 0 评论 -
基础的Cookie操作
/** * 保存cookie的方法 * */ function saveCookie(cookieName, cookieValue, dayCount) { // 设置过期时间 var date = new Date(); date.setDate(date.getDate() + dayCount); document.coo原创 2016-12-29 20:48:02 · 271 阅读 · 0 评论