Lidemy / mentor-program-2nd-futianshen

mentor-program-2nd-futianshen created by GitHub Classroom
14 stars 2 forks source link

常用 jQuery 語法 #47

Open futianshen opened 5 years ago

futianshen commented 5 years ago

Selector

$('.ClassName')

Event Handler Attachment

.on()

Tree Traversal

.closest()
.offsetParent('.ClassName')
.parent()
.children()
.find() 

DOM Insertion