2016年9月23日

用JavaScript读取和保存文件

摘要: 原文地址:https://www.keakon.net/2011/10/20/%E7%94%A8JavaScript%E8%AF%BB%E5%8F%96%E5%92%8C%E4%BF%9D%E5%AD%98%E6%96%87%E4%BB%B6 话说今天只是粗略浏览了一下Proxy SwitchySh 阅读全文

posted @ 2016-09-23 19:54 ZhYQ_note 阅读(451) 评论(0) 推荐(0) 编辑

html: button样式 css生成器

摘要: 网址:http://www.bestcssbuttongenerator.com/#/28 阅读全文

posted @ 2016-09-23 19:38 ZhYQ_note 阅读(709) 评论(0) 推荐(0) 编辑

TypeError: BlobBuilder is not a constructor

摘要: 今天在chrome浏览器中这样使用时,出线错误TypeError: BlobBuilder is not a constructor。 解决: 原文地址:http://stackoverflow.com/questions/15293694/blob-constructor-browser-comp 阅读全文

posted @ 2016-09-23 19:27 ZhYQ_note 阅读(2375) 评论(0) 推荐(0) 编辑

web: 屏蔽button元素的空格键和enter响应

摘要: 用tab键可以在各种元素之间切换焦点,然后键盘上的空格和enter按键触发click事件,我这里不想要这种效果。 所以我需要屏蔽这两个按键。 阅读全文

posted @ 2016-09-23 19:01 ZhYQ_note 阅读(371) 评论(0) 推荐(0) 编辑

js屏蔽用户输入非数字按键

摘要: 原文地址:http://www.byex.cn/Article/read/id/68.html 在某些特别的场景,有时候我们需要对用户的按键输入做一个校验,。比如说在商城购物时候,用户填写商品件数时,这时候我们就会要对用户输入的值做一些限制,避免用户输入非数字的按键。在javascript高级程序三 阅读全文

posted @ 2016-09-23 18:56 ZhYQ_note 阅读(281) 评论(0) 推荐(0) 编辑

Keyboard Accessibility: 网页键盘按钮响应

摘要: 原文地址:http://webaim.org/techniques/keyboard/ Introduction Important Ensure that all content can be accessed with the keyboard alone. Important Ensure t 阅读全文

posted @ 2016-09-23 17:35 ZhYQ_note 阅读(489) 评论(0) 推荐(0) 编辑

html: tab键导航控制属性tabindex

摘要: 一: 原文地址:https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex The tabindex global attribute is an integer indicating if the ele 阅读全文

posted @ 2016-09-23 17:23 ZhYQ_note 阅读(306) 评论(0) 推荐(0) 编辑

DOM原生的event.keyCode和event.charCode

摘要: 原文地址:http://www.jianshu.com/p/607cad2305bd 主要分四个部分 第一部分:浏览器的按键事件第二部分:兼容浏览器第三部分:代码实现和优化第四部分:总结 第一部分:浏览器的按键事件 用js实现键盘记录,要关注浏览器的三种按键事件类型,即keydown,keypres 阅读全文

posted @ 2016-09-23 11:17 ZhYQ_note 阅读(332) 评论(0) 推荐(0) 编辑

导航