Skip to content

Commit

Permalink
更新了前端文档
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrued committed Sep 30, 2018
1 parent 6294eac commit c3a9b74
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Day21-30/Web前端概述.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,10 @@
- 访问元素
- getElementById() / querySelector()
- getElementsByClassName() / getElementsByTagName() / querySelectorAll()
- parentNode / previousSibling / nextSibling / firstChild / lastChild
- parentNode / previousSibling / nextSibling / children / firstChild / lastChild
- 操作元素
- nodeValue
- innerHTML / textContent / createElement() / createTextNode() / appendChild() / removeChild()
- innerHTML / textContent / createElement() / createTextNode() / appendChild() / insertBefore() / removeChild()
- className / id / hasAttribute() / getAttribute() / setAttribute() / removeAttribute()
- 事件处理
- 事件类型
Expand Down Expand Up @@ -286,7 +286,6 @@
- 从CDN加载jQuery

```HTML

<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script>
window.jQuery ||
Expand Down Expand Up @@ -335,7 +334,6 @@
#### 检测页面是否可用

```HTML

<script>
$(document).ready(function() {
Expand All @@ -344,7 +342,6 @@
```

```HTML

<script>
$(function() {
Expand All @@ -364,7 +361,6 @@
先引入其他库再引入jQuery的情况。

```HTML

<script src="other.js"></script>
<script src="jquery.js"></script>
<script>
Expand Down

0 comments on commit c3a9b74

Please sign in to comment.