键盘和鼠标事件的区别和使用
摘要:
y> <script type="text/javascript">// 键盘和鼠标不同的地方在哪里?// 键盘是不需要选择元素 document.onkeydown = function(event){// event对象,只有当有用户操作的时候才会产生// console.log(event) 阅读全文
posted @ 2018-10-23 08:49 妄言 阅读(329) 评论(0) 推荐(0) 编辑