Please enable JavaScript.
Coggle requires JavaScript to display documents.
jQuery - Coggle Diagram
jQuery
Selector
Basic Filters
Visibility Filters
Attribute
Child filters
Hierarchy
ancestor descendant
prev + next
parent > child
pre ~ siblings
Forms
Basic
element
id
.class
selector1,selector2
*
MANIPULATION
DOM Insertion,Inside
.html()
.appendTo()
.prependTo
.append()
.text()
.prepend()
DOM Insertion,Outside
.after()
.before()
.insertAfter()
.insertBefore()
DOM Insertion ,Around
.warpAll()
.wrapInner()
.wrap()
DOM Removal
.detach()
.empty()
.remove()
.unwrap()
Copying
.clone()
DOM Replacement
.replaceAll()
.replaceWith()
Attribute/CSS
CSS
.addClass()
.css()
.toggleClass()
.removeClass()
Dimensions
.height()
.width()
Attribute
.removeAttr()
.removeProp()
.prop
.val()
.attr()
Offset
Data
速查表