![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端开发
文章平均质量分 53
ios0213
这个作者很懒,什么都没留下…
展开
-
HTML5事件监听
无标题文档 function playorpausevideo() { var videourl=document.getElementById("videourl").value; var video=document.getElementById("video"); video.addEventListener("timeupdate",function() { var ti原创 2016-05-10 19:00:21 · 2258 阅读 · 0 评论 -
HTML5 存储的实现
无标题文档 保存数据 读取数据 function savestorage() { var textValue=document.getElementById("demo").value; localStorage.setItem("message",textValue); } function loadstorage() { var tar=docu原创 2016-05-10 20:07:06 · 252 阅读 · 0 评论 -
HTML5 用localStorage写的留言本
简单的web留言本工具 body{ text-align:center; } 简单的web留言本 function savestorage() { var txt_message=document.getElementById("demo").value; var time=new Date().getTime(); /*获取时间*/原创 2016-05-10 21:17:03 · 1506 阅读 · 0 评论