摘要:
<body> <div class="container"> <h3>输出内容</h3> <pre> var name = 'lili'; var obj = { name: 'liming', prop: { name: 'ivan', getname: function() { return t 阅读全文
posted @ 2018-09-18 15:12
LeoX的爬坑笔记
阅读(271)
评论(0)
推荐(0)
摘要:
你想不想知道用户选中了哪些信息? window.getSelection():返回Selection对象,其中toString()方法返回选中的文本信息; document.onmouseup = function () { ... 阅读全文
posted @ 2018-09-18 09:49
LeoX的爬坑笔记
阅读(255)
评论(0)
推荐(0)
摘要:
一些我们应该知道的特性; document.documentElement:代表根节点html; document.head:返回文档的节点; document.body:返回文档的节点; document.forms:返回页面中所有表单元素form; ... 阅读全文
posted @ 2018-09-18 09:44
LeoX的爬坑笔记
阅读(170)
评论(0)
推荐(0)

浙公网安备 33010602011771号