JQuery

[Pages:76]jQuery

#jquery

1

1: jQuery

2

2

2

Examples

2

jQuery"jQuery""$"

2

3

3

HTML

4

5

jQuery

6

jQuery

7

jQuery

7

2: CSS

9

9

9

Examples

9

CSS

9

CSS

10

/

10

CSS - GettersSetters

10

CSS Getter

10

CSS Setter

10

3: DOM

12

Examples

12

DOM

12

12

API

14

html

15

16

17

17

17

DOMsortList()DOM

17

doSort()

17

$('#btn-sort')

17

17

18

18

4: DOM

20

Examples

20

20

jQuery

20

20

nearest

21

22

22

23

HTML

23

23

23

23

23

find

23

5: jQuery .animate

25

25

25

Examples

25

25

6: jQueryPromises

27

27

Examples

27

27

27

jQuery ajaxVS .done,. fail

28

28

7:

29

29

Examples

29

29

29

8:

31

Examples

31

31

31

9:

32

32

Examples

32

HTML

32

HTML

32

32

attrprop

33

10:

34

Examples

34

-

34

jQuery.fn.extend

35

11:

37

Examples

37

37

jQuery

37

12:

38

38

Examples

38

38

38

HTML

38

jQuery

38

38

HTML

38

jQuery

38

jQuery

38

39

HTML

39

39

-

39

39

40

.load

40

ID

40

originalEvent

41

41

jQuery

41

13:

43

Examples

43

43

jQuery 2.2.3

43

jQuery 3.0

44

44

44

$document.ready$window.load

44

readyDOM

45

jQueryfn

45

14:

47

Examples

47

47

innerWidthinnerHeight

47

outerWidthouterHeight

47

15: /

48

48

Examples

48

2

48

16:

49

49

49

49

Examples

49

49

51

51

52

""

52

""

52

"+"

52

""

53

53

53

53

53

DOM

54

HTML

54

17:

56

56

56

56

Examples

56

$ .ajaxHTTP

56

Ajax

57

JSON

57

58

Ajax

60

Ajax

60

1.

60

2.

61

3.FormData

61

4.Ajax

61

18:

63

63

63

63

Examples

63

63

.append

63

HTML

63

JS

64

64

64

Array*

65

HTMLjQuery

66

66

67

jQuery

67

68

You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: jquery

It is an unofficial and free jQuery ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow. It is neither affiliated with Stack Overflow nor official jQuery.

The content is released under Creative Commons BY-SA, and the list of contributors to each chapter are provided in the credits section at the end of this book. Images may be copyright of their respective owners unless otherwise specified. All trademarks and registered trademarks are the property of their respective company owners.

Use the content presented in this book at your own risk; it is not guaranteed to be correct nor accurate, please send your feedback and corrections to info@



1

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download