JavaScript_js_-_Ming_Li.pdf

(2534 KB) Pobierz
JavaScript
js
Ming Li
Copyright © 2016 Ming Li
All rights reserved.
ISBN-10: 1523378565
ISBN-13: 978-1523378562
Dedication
To all of you with the strong desire to learn
the scripting language JavaScript (js).
Having the desire to learn is the best to succeed
.
Table Of Contents
1- Who is it for?––––––––––––––––––––––p1
2- Introduction and History–––––––––––––––––—p1
3- JavaScript definition–––––––––––––––––––p4
4- JavaScript is a scripting Language–––––––––––––—p4
5- Are JavaScript and Java the same?–––––––––––––—p5
6- The start––––––––––––––––––––––––p5
6a- Folder creation–––––––––––––––––––––p5
6b- Start coding in JavaScript––––––––––––––––—p8
7- JavaScript Comment–––––––––––––––––––p10
8- JavaScript Alert code––––––––––––––––––—p11
9- Summary––––––––––––––––––––––– p14
10- Events Handling––––––––––––––––––––p15
11- Nesting–––––––––––––––––––––––- p17
12- The ondbclick––––––––––––––––––––— p18
13- The onmouseover–––––––––––––––––––-p19
14- The oncontextmenu––––––––––––––––––—p21
15- Decrease “hot spot”––––––––––––––––––—p21
16- JavaScript Functions––––––––––––––––––-p23
17- Summary––––––––––––––––––––––—p27
18- How to Debug JavaScript––––––––––––––––-p27
19- Introduction–––––––––––––––––––––—p28
20- The DOM––––––––––––––––––––––-p28
21- The properties of DOM––––––––––––––––— p29
22- More––––––––––––––––––––––––-p29
23- Methods–––––––––––––––––––––––p30
24- Literals and Variables–––––––––––––––––—p32
25- Creating a Variable in JavaScript–––––––––––––-p34
26- Summary––––––––––––––––––––––—p36
27- Making Decisions, Numbers and Dates–––––––––––p37
Zgłoś jeśli naruszono regulamin