Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Python-100-Days
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huangkq
Python-100-Days
Commits
c3a9b74b
Commit
c3a9b74b
authored
Sep 30, 2018
by
jackfrued
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新了前端文档
parent
6294eac0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
Web前端概述.md
Day21-30/Web前端概述.md
+2
-6
No files found.
Day21-30/Web前端概述.md
View file @
c3a9b74b
...
...
@@ -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()
-
事件处理
-
事件类型
...
...
@@ -286,7 +286,6 @@
-
从CDN加载jQuery
```
HTML
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script>
window.jQuery ||
...
...
@@ -335,7 +334,6 @@
#### 检测页面是否可用
```
HTML
<script>
$(document).ready(function() {
...
...
@@ -344,7 +342,6 @@
```
```
HTML
<script>
$(function() {
...
...
@@ -364,7 +361,6 @@
先引入其他库再引入jQuery的情况。
```
HTML
<script src="other.js"></script>
<script src="jquery.js"></script>
<script>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment