SlideShare uma empresa Scribd logo
1 de 2
Baixar para ler offline
Core
$(html, [owner])
$(expr, [context])
$(elems)
$(func)
jQuery 1.3 Cheat Sheet
jQuery Function
Interoperability
$.noConflict()
$.noConflict(extreme)
Plugins
$.fn.extend(object)
$.extend(object)
Data
data(name)
data(name, value)
removeData(name)
queue(name)
queue(name, func)
queue(name, queue)
dequeue(name)
each(func)
size()
jQuery Object Accessors
length
selector 1
context 1
eq(index)
get()
get(index)
index(element)
jQuery
jQuery
jQuery
jQuery
jQuery
Number
Number
String
Element
Number
jQuery
Element
Array<Element>
jQuery
jQuery
jQuery
jQuery
jQuery
Object
Array<Function>
jQuery
jQuery
jQuery
jQuery
1) New in jQuery 1.3
FUNCTION RETURNS
PROPERTY RETURNS
FUNCTION RETURNS
FUNCTION RETURNS
FUNCTION RETURNS
FUNCTION RETURNS
[ ]| one argument only optional argumentargument
Legend
function functions or properties arguments
SYNTAX DESCRIPTION
Manipulation
wrap(html | element) jQuery
wrapInner(html | elem)
wrapAll(html | element) jQuery
jQuery
appendTo(selector)
Insert Inside
append(content) jQuery
jQuery
prependTo(selector)
prepend(content) jQuery
jQuery
before(content)
Insert Outside
after(content) jQuery
jQuery
insertBefore(content)
insertAfter(content) jQuery
jQuery
Insert Around
replaceWith(content) jQuery
replaceAll(selector) jQuery
Replace
empty() jQuery
remove([expr]) jQuery
Remove
clone([events]) jQuery
Copy
FUNCTION RETURNS
FUNCTION RETURNS
FUNCTION RETURNS
FUNCTION RETURNS
FUNCTION RETURNS
FUNCTION RETURNS
Attributes
attr(key, value | func) jQuery
removeAttr(name) jQuery
attr(props)
Attr
attr(name) Object
jQuery
removeClass([class])
addClass(class)
Class
hasClass(class) Boolean
jQuery
jQuery
toggleClass(class) jQuery
jQuery
html(value)
HTML
html() String
jQuery
text(value)
Text
text() String
jQuery
toggleClass(class, switch)
FUNCTION RETURNS
FUNCTION RETURNS
FUNCTION RETURNS
FUNCTION RETURNS
Value
val() String, Array
FUNCTION RETURNS
Traversing
offsetParent() jQuery
prevAll([expr]) jQuery
filter(func)
Filtering
filter(expr) jQuery
jQuery
is(expr) Boolean
map(func) jQuery
not(expr) jQuery
slice(start, [end]) jQuery
children([expr])
Finding
add(expr) jQuery
jQuery
closest([expr]) jQuery
contents() jQuery
find(expr) jQuery
next([expr]) jQuery
nextAll([expr]) jQuery
parent([expr]) jQuery
parents([expr]) jQuery
prev([expr]) jQuery
siblings([expr]) jQuery
end()
Chaining
andSelf() jQuery
jQuery
FUNCTION RETURNS
FUNCTION RETURNS
FUNCTION RETURNS
Selectors
:visible
Visibility Filters
:hidden Array<Element>
Array<Element>
[attr=value] 2
Attribute Filters
[attr] 2
Array<Element>
Array<Element>
[attr!=value] 2
Array<Element>
[attr^=value] 2
Array<Element>
[attr$=value] 2
Array<Element>
[attr*=value] 2
Array<Element>
[attr1][attr2][attrN] 2
Array<Element>
:last-child
:first-child
Child Filters
:nth-child(index | even | odd |
equation) Array<Element>
Array<Element>
Array<Element>
:only-child Array<Element>
name
#id
.class
selector1, selectorN
Basic
*
previous + next
parent > child
previous ~ siblings
Hierarchy
ancestor descendant Array<Element>
Array<Element>
Array<Element>
Array<Element>
Array<Element>
Array<Element>
Array<Element>
Array<Element>
Array<Element>
:not(selector)
:last
:even
Basic Filters
:first Array<Element>
Array<Element>
Array<Element>
Array<Element>
:odd Array<Element>
:eq(index) Array<Element>
:gt(index) Array<Element>
:lt(index) Array<Element>
:header Array<Element>
:animated Array<Element>
:text
:input
Forms
:hidden Array<Element>
Array<Element>
Array<Element>
:password Array<Element>
:image
:radio
:checkbox Array<Element>
Array<Element>
Array<Element>
:file Array<Element>
:submit
:button Array<Element>
Array<Element>
:reset Array<Element>
:checked
:disabled
Form Filters
:enabled Array<Element>
Array<Element>
Array<Element>
:selected Array<Element>
:has(selector)
:empty
Content Filters
:contains(text) Array<Element>
Array<Element>
Array<Element>
SELECTOR RETURNS
SELECTOR RETURNS
SELECTOR RETURNS
SELECTOR RETURNS
SELECTOR RETURNS
SELECTOR RETURNS
SELECTOR RETURNS
SELECTOR RETURNS
SELECTOR RETURNS
2) The [@attr] style selectors were removed in jQuery 1.3
:parent Array<Element>
val(value) jQuery
SYNTAX DESCRIPTION SYNTAX DESCRIPTIONSYNTAX DESCRIPTION
Ajax
serializeArray() Array<Object>
serialize() String
load(url, [data], [func])
$.ajax(options)
$.get(url, [data], [func], [type])
XMLHttpRequest
jQuery
XMLHttpRequest
$.getJSON(url, [data], [func]) XMLHttpRequest
$.getScript(url, [func]) XMLHttpRequest
$.post(url, [data], [func], [type]) XMLHttpRequest
Utilities
$.isArray(object) Boolean
$.isFunction(object) Boolean
jQuery 1.3 Cheat Sheet
$.browser.version 5
$.browser 5
$.boxModel 5
$.support.boxModel 6
Browser & Feature Detection
Map
String
Boolean
Boolean
PROPERTY RETURNS
5) Deprecated in jQuery 1.3
6) New in jQuery 1.3
$.support.cssFloat 6
Boolean
$.support.hrefNormalized 6
Boolean
$.support.htmlSerialize 6
Boolean
$.support.leadingWhitespace 6
Boolean
$.support.noCloneEvent 6
Boolean
$.support.objectAll 6
Boolean
$.support.opacity 6
Boolean
$.support.scriptEval 6
Boolean
$.support.style 6
Boolean
$.support.tbody 6
Boolean
$.extend([deep], target, object1,
..., [objectN])
$.each(object, func)
Array & Object Operations
Object
Object
FUNCTION RETURNS
$.grep(array, func, [invert]) Array
$.makeArray(object) Array
$.map(array, func) Array
$.inArray(value, array) Number
$.merge(first, second) Array
$.unique(array) Array
Test Operations
FUNCTION RETURNS
$.trim(string)
String Operations
String
FUNCTION RETURNS
$.param(object)
URLs
String
FUNCTION RETURNS
Effects
show(speed, [func])
show()
hide()
hide(speed, [func])
Basic
jQuery
jQuery
jQuery
jQuery
FUNCTION RETURNS
toggle() jQuery
toggle(switch) jQuery
toggle(speed, [func]) jQuery
slideUp(speed, [func])
slideDown(speed, [func])
Sliding
jQuery
jQuery
FUNCTION RETURNS
slideToggle(speed, [func]) jQuery
fadeOut(speed, [func])
fadeIn(speed, [func])
Fading
jQuery
jQuery
FUNCTION RETURNS
fadeTo(speed, opacity, [func]) jQuery
animate(params, options)
animate(params, [duration],
[easing], [func])
Custom
jQuery
jQuery
FUNCTION RETURNS
stop([clearQueue], [gotoEnd]) jQuery
$.fx.off
Settings
Boolean
PROPERTY RETURNS
ajaxError([func])
Events
jQuery
FUNCTION RETURNS
ajaxSend([func]) jQuery
ajaxStart([func]) jQuery
ajaxStop([func]) jQuery
$.ajaxSetup(options)
Miscellaneous
jQuery
FUNCTION RETURNS
Requests
FUNCTION RETURNS
ajaxComplete([func]) jQuery
ajaxSuccess([func]) jQuery
Events
dblclick([func]) 4
jQuery
blur([func]) 4
jQuery
change([func]) 4
jQuery
click([func]) 4
jQuery
bind(type, [data], func) jQuery
one(type, [data], func) jQuery
trigger(event, [data]) jQuery
triggerHandler(event, [data]) Object
unbind([type], [data]) jQuery
CSS
position()
Position
offset() Object {top, left}
Object {top, left}
scrollTop() Integer
scrollTop(value) jQuery
scrollLeft() Integer
scrollLeft(value) jQuery
Dimension
width() Integer
width(value) jQuery
height() Integer
height(value) jQuery
innerWidth() Integer
innerHeight() Integer
outerWidth([options]) Integer
outerHeight([options]) Integer
css(props)
CSS
css(name) String
jQuery
css(name, value) jQuery
Page Load
ready(func) jQuery
Event Handling
live(type, func) 3
jQuery
die([type], [func]) 3
jQuery
Live Events
hover(over, out) jQuery
toggle(func1, func2, ..., [funcN]) jQuery
Interaction Helpers
Event Helpers
error([func]) 4
jQuery
focus([func]) 4
jQuery
keydown([func]) 4
jQuery
keypress([func]) 4
jQuery
keyup([func]) 4
jQuery
load(func) jQuery
mousedown(func) jQuery
mousemove(func) jQuery
mouseout(func) jQuery
mouseover(func) jQuery
mouseup(func) jQuery
resize(func) jQuery
scroll(func) jQuery
select([func]) 4
jQuery
submit([func]) 4
jQuery
unload(func) jQuery
3) New in jQuery 1.3
4) Omitting the value triggers the events on each matched element
FUNCTION RETURNS
FUNCTION RETURNS
FUNCTION RETURNS
FUNCTION RETURNS
FUNCTION RETURNS
FUNCTION RETURNS
FUNCTION RETURNS
FUNCTION RETURNS
stopPropagation() Undefined
isDefaultPrevented() Boolean
target
type
relatedTarget
currentTarget
Event Object
String
Element
Element
Element
PROPERTY RETURNS
pageX String
pageY String
result Object
timeStamp Number
preventDefault() Undefined
isPropagationStopped() Boolean
stopImmediatePropagation() Undefined
isImmediatePropagationStopped() Boolean
FUNCTION RETURNS
[ ]| one argument only optional argumentargument
Legend
function functions or properties arguments
SYNTAX DESCRIPTION SYNTAX DESCRIPTION SYNTAX DESCRIPTIONSYNTAX DESCRIPTION

Mais conteúdo relacionado

Mais procurados

An introduction to property-based testing
An introduction to property-based testingAn introduction to property-based testing
An introduction to property-based testing
Vincent Pradeilles
 
Introduction to R
Introduction to RIntroduction to R
Introduction to R
agnonchik
 
Functional programming basics
Functional programming basicsFunctional programming basics
Functional programming basics
openbala
 
CodeCamp Iasi 10 march 2012 - Practical Groovy
CodeCamp Iasi 10 march 2012 - Practical GroovyCodeCamp Iasi 10 march 2012 - Practical Groovy
CodeCamp Iasi 10 march 2012 - Practical Groovy
Codecamp Romania
 
JDD2015: Functional programing and Event Sourcing - a pair made in heaven - e...
JDD2015: Functional programing and Event Sourcing - a pair made in heaven - e...JDD2015: Functional programing and Event Sourcing - a pair made in heaven - e...
JDD2015: Functional programing and Event Sourcing - a pair made in heaven - e...
PROIDEA
 

Mais procurados (17)

Switching from java to groovy
Switching from java to groovySwitching from java to groovy
Switching from java to groovy
 
Hammurabi
HammurabiHammurabi
Hammurabi
 
TDC218SP | Trilha Kotlin - DSLs in a Kotlin Way
TDC218SP | Trilha Kotlin - DSLs in a Kotlin WayTDC218SP | Trilha Kotlin - DSLs in a Kotlin Way
TDC218SP | Trilha Kotlin - DSLs in a Kotlin Way
 
An introduction to property-based testing
An introduction to property-based testingAn introduction to property-based testing
An introduction to property-based testing
 
Grammarware Memes
Grammarware MemesGrammarware Memes
Grammarware Memes
 
Introduction to R
Introduction to RIntroduction to R
Introduction to R
 
Functional programming basics
Functional programming basicsFunctional programming basics
Functional programming basics
 
CodeCamp Iasi 10 march 2012 - Practical Groovy
CodeCamp Iasi 10 march 2012 - Practical GroovyCodeCamp Iasi 10 march 2012 - Practical Groovy
CodeCamp Iasi 10 march 2012 - Practical Groovy
 
EMFPath
EMFPathEMFPath
EMFPath
 
JDD2015: Functional programing and Event Sourcing - a pair made in heaven - e...
JDD2015: Functional programing and Event Sourcing - a pair made in heaven - e...JDD2015: Functional programing and Event Sourcing - a pair made in heaven - e...
JDD2015: Functional programing and Event Sourcing - a pair made in heaven - e...
 
dotSwift 2016 : Beyond Crusty - Real-World Protocols
dotSwift 2016 : Beyond Crusty - Real-World ProtocolsdotSwift 2016 : Beyond Crusty - Real-World Protocols
dotSwift 2016 : Beyond Crusty - Real-World Protocols
 
The Ring programming language version 1.10 book - Part 30 of 212
The Ring programming language version 1.10 book - Part 30 of 212The Ring programming language version 1.10 book - Part 30 of 212
The Ring programming language version 1.10 book - Part 30 of 212
 
Scala in practice
Scala in practiceScala in practice
Scala in practice
 
Programming Java - Lection 04 - Generics and Lambdas - Lavrentyev Fedor
Programming Java - Lection 04 - Generics and Lambdas - Lavrentyev FedorProgramming Java - Lection 04 - Generics and Lambdas - Lavrentyev Fedor
Programming Java - Lection 04 - Generics and Lambdas - Lavrentyev Fedor
 
JS OO and Closures
JS OO and ClosuresJS OO and Closures
JS OO and Closures
 
Patterns for slick database applications
Patterns for slick database applicationsPatterns for slick database applications
Patterns for slick database applications
 
Swift에서 꼬리재귀 사용기 (Tail Recursion)
Swift에서 꼬리재귀 사용기 (Tail Recursion)Swift에서 꼬리재귀 사용기 (Tail Recursion)
Swift에서 꼬리재귀 사용기 (Tail Recursion)
 

Destaque

Cara membuat email (gmail)
Cara membuat email (gmail)Cara membuat email (gmail)
Cara membuat email (gmail)
regita_
 
The Story of Kong Rong
The Story of Kong Rong The Story of Kong Rong
The Story of Kong Rong
Ruiix3
 
WEB-6.19.15_English
WEB-6.19.15_EnglishWEB-6.19.15_English
WEB-6.19.15_English
Qiaoyu Feng
 
Ppt宝藏 www.pptbz.com 动态蝴蝶飞
Ppt宝藏 www.pptbz.com 动态蝴蝶飞Ppt宝藏 www.pptbz.com 动态蝴蝶飞
Ppt宝藏 www.pptbz.com 动态蝴蝶飞
beanhk
 

Destaque (20)

Cara membuat email (gmail)
Cara membuat email (gmail)Cara membuat email (gmail)
Cara membuat email (gmail)
 
Climate Change 1.2.3
Climate Change 1.2.3Climate Change 1.2.3
Climate Change 1.2.3
 
The Story of Kong Rong
The Story of Kong Rong The Story of Kong Rong
The Story of Kong Rong
 
Lab traffic&super inside tbp
Lab traffic&super inside tbpLab traffic&super inside tbp
Lab traffic&super inside tbp
 
Best Advice I Ever Got
Best Advice I Ever GotBest Advice I Ever Got
Best Advice I Ever Got
 
MySQL Query Browser
MySQL Query BrowserMySQL Query Browser
MySQL Query Browser
 
IDCC 2609 Accord etam 2016
IDCC 2609 Accord etam 2016IDCC 2609 Accord etam 2016
IDCC 2609 Accord etam 2016
 
Ilizz
IlizzIlizz
Ilizz
 
"Շիկահող" պետական արգելոց. երկկենցաղներ և սողուններ
"Շիկահող" պետական արգելոց. երկկենցաղներ և սողուններ"Շիկահող" պետական արգելոց. երկկենցաղներ և սողուններ
"Շիկահող" պետական արգելոց. երկկենցաղներ և սողուններ
 
Summary - China Goes Global - The Partial Power
Summary - China Goes Global - The Partial PowerSummary - China Goes Global - The Partial Power
Summary - China Goes Global - The Partial Power
 
Elur niahc and trig
Elur niahc and trigElur niahc and trig
Elur niahc and trig
 
ข้อสอบ 7 วิชาThaimar48
ข้อสอบ 7 วิชาThaimar48ข้อสอบ 7 วิชาThaimar48
ข้อสอบ 7 วิชาThaimar48
 
Nhạc trữ tình Anh Thơ
Nhạc trữ tình Anh ThơNhạc trữ tình Anh Thơ
Nhạc trữ tình Anh Thơ
 
Del grosso ma. claudia
Del grosso ma. claudiaDel grosso ma. claudia
Del grosso ma. claudia
 
W1006 ECONOMICS ASSIGNMENT
W1006 ECONOMICS ASSIGNMENTW1006 ECONOMICS ASSIGNMENT
W1006 ECONOMICS ASSIGNMENT
 
Tg bi thn 3
Tg bi thn 3Tg bi thn 3
Tg bi thn 3
 
Narcissus' rebirth 1998 sculpture
Narcissus' rebirth 1998 sculpture Narcissus' rebirth 1998 sculpture
Narcissus' rebirth 1998 sculpture
 
Press Club Newsletter - Autumn 2013
Press Club Newsletter - Autumn 2013Press Club Newsletter - Autumn 2013
Press Club Newsletter - Autumn 2013
 
WEB-6.19.15_English
WEB-6.19.15_EnglishWEB-6.19.15_English
WEB-6.19.15_English
 
Ppt宝藏 www.pptbz.com 动态蝴蝶飞
Ppt宝藏 www.pptbz.com 动态蝴蝶飞Ppt宝藏 www.pptbz.com 动态蝴蝶飞
Ppt宝藏 www.pptbz.com 动态蝴蝶飞
 

Semelhante a Jquery 13 cheatsheet_v1

Underscore.js
Underscore.jsUnderscore.js
Underscore.js
timourian
 
Scala - where objects and functions meet
Scala - where objects and functions meetScala - where objects and functions meet
Scala - where objects and functions meet
Mario Fusco
 
Scala ActiveRecord
Scala ActiveRecordScala ActiveRecord
Scala ActiveRecord
scalaconfjp
 
Predictably
PredictablyPredictably
Predictably
ztellman
 
JQuery New Evolution
JQuery New EvolutionJQuery New Evolution
JQuery New Evolution
Allan Huang
 

Semelhante a Jquery 13 cheatsheet_v1 (20)

Jquery.cheatsheet.1.4
Jquery.cheatsheet.1.4Jquery.cheatsheet.1.4
Jquery.cheatsheet.1.4
 
Hadoop + Clojure
Hadoop + ClojureHadoop + Clojure
Hadoop + Clojure
 
JQuery introduction
JQuery introductionJQuery introduction
JQuery introduction
 
Hw09 Hadoop + Clojure
Hw09   Hadoop + ClojureHw09   Hadoop + Clojure
Hw09 Hadoop + Clojure
 
Meet scala
Meet scalaMeet scala
Meet scala
 
Basics of j query
Basics of j queryBasics of j query
Basics of j query
 
Underscore.js
Underscore.jsUnderscore.js
Underscore.js
 
(map Clojure everyday-tasks)
(map Clojure everyday-tasks)(map Clojure everyday-tasks)
(map Clojure everyday-tasks)
 
ITT 2015 - Saul Mora - Object Oriented Function Programming
ITT 2015 - Saul Mora - Object Oriented Function ProgrammingITT 2015 - Saul Mora - Object Oriented Function Programming
ITT 2015 - Saul Mora - Object Oriented Function Programming
 
Scala - where objects and functions meet
Scala - where objects and functions meetScala - where objects and functions meet
Scala - where objects and functions meet
 
jQuery
jQueryjQuery
jQuery
 
Swift 함수 커링 사용하기
Swift 함수 커링 사용하기Swift 함수 커링 사용하기
Swift 함수 커링 사용하기
 
Prototype Framework
Prototype FrameworkPrototype Framework
Prototype Framework
 
JSConf: All You Can Leet
JSConf: All You Can LeetJSConf: All You Can Leet
JSConf: All You Can Leet
 
Scala ActiveRecord
Scala ActiveRecordScala ActiveRecord
Scala ActiveRecord
 
Predictably
PredictablyPredictably
Predictably
 
JQuery New Evolution
JQuery New EvolutionJQuery New Evolution
JQuery New Evolution
 
jQuery Rescue Adventure
jQuery Rescue AdventurejQuery Rescue Adventure
jQuery Rescue Adventure
 
Javascript And J Query
Javascript And J QueryJavascript And J Query
Javascript And J Query
 
Comparing JVM languages
Comparing JVM languagesComparing JVM languages
Comparing JVM languages
 

Último

Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
amitlee9823
 
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
instagramfab782445
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
amitlee9823
 
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
amitlee9823
 
➥🔝 7737669865 🔝▻ dharamshala Call-girls in Women Seeking Men 🔝dharamshala🔝 ...
➥🔝 7737669865 🔝▻ dharamshala Call-girls in Women Seeking Men  🔝dharamshala🔝  ...➥🔝 7737669865 🔝▻ dharamshala Call-girls in Women Seeking Men  🔝dharamshala🔝  ...
➥🔝 7737669865 🔝▻ dharamshala Call-girls in Women Seeking Men 🔝dharamshala🔝 ...
amitlee9823
 
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
amitlee9823
 
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
kumaririma588
 
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
amitlee9823
 

Último (20)

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best ServiceHigh Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
 
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
 
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
 
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
 
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
 
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
➥🔝 7737669865 🔝▻ dharamshala Call-girls in Women Seeking Men 🔝dharamshala🔝 ...
➥🔝 7737669865 🔝▻ dharamshala Call-girls in Women Seeking Men  🔝dharamshala🔝  ...➥🔝 7737669865 🔝▻ dharamshala Call-girls in Women Seeking Men  🔝dharamshala🔝  ...
➥🔝 7737669865 🔝▻ dharamshala Call-girls in Women Seeking Men 🔝dharamshala🔝 ...
 
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
 
❤Personal Whatsapp Number 8617697112 Samba Call Girls 💦✅.
❤Personal Whatsapp Number 8617697112 Samba Call Girls 💦✅.❤Personal Whatsapp Number 8617697112 Samba Call Girls 💦✅.
❤Personal Whatsapp Number 8617697112 Samba Call Girls 💦✅.
 
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
Sector 104, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 104, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 104, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 104, Noida Call girls :8448380779 Model Escorts | 100% verified
 
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
 
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
 
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
 
Q4-W4-SCIENCE-5 power point presentation
Q4-W4-SCIENCE-5 power point presentationQ4-W4-SCIENCE-5 power point presentation
Q4-W4-SCIENCE-5 power point presentation
 
The hottest UI and UX Design Trends 2024
The hottest UI and UX Design Trends 2024The hottest UI and UX Design Trends 2024
The hottest UI and UX Design Trends 2024
 
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
 

Jquery 13 cheatsheet_v1

  • 1. Core $(html, [owner]) $(expr, [context]) $(elems) $(func) jQuery 1.3 Cheat Sheet jQuery Function Interoperability $.noConflict() $.noConflict(extreme) Plugins $.fn.extend(object) $.extend(object) Data data(name) data(name, value) removeData(name) queue(name) queue(name, func) queue(name, queue) dequeue(name) each(func) size() jQuery Object Accessors length selector 1 context 1 eq(index) get() get(index) index(element) jQuery jQuery jQuery jQuery jQuery Number Number String Element Number jQuery Element Array<Element> jQuery jQuery jQuery jQuery jQuery Object Array<Function> jQuery jQuery jQuery jQuery 1) New in jQuery 1.3 FUNCTION RETURNS PROPERTY RETURNS FUNCTION RETURNS FUNCTION RETURNS FUNCTION RETURNS FUNCTION RETURNS [ ]| one argument only optional argumentargument Legend function functions or properties arguments SYNTAX DESCRIPTION Manipulation wrap(html | element) jQuery wrapInner(html | elem) wrapAll(html | element) jQuery jQuery appendTo(selector) Insert Inside append(content) jQuery jQuery prependTo(selector) prepend(content) jQuery jQuery before(content) Insert Outside after(content) jQuery jQuery insertBefore(content) insertAfter(content) jQuery jQuery Insert Around replaceWith(content) jQuery replaceAll(selector) jQuery Replace empty() jQuery remove([expr]) jQuery Remove clone([events]) jQuery Copy FUNCTION RETURNS FUNCTION RETURNS FUNCTION RETURNS FUNCTION RETURNS FUNCTION RETURNS FUNCTION RETURNS Attributes attr(key, value | func) jQuery removeAttr(name) jQuery attr(props) Attr attr(name) Object jQuery removeClass([class]) addClass(class) Class hasClass(class) Boolean jQuery jQuery toggleClass(class) jQuery jQuery html(value) HTML html() String jQuery text(value) Text text() String jQuery toggleClass(class, switch) FUNCTION RETURNS FUNCTION RETURNS FUNCTION RETURNS FUNCTION RETURNS Value val() String, Array FUNCTION RETURNS Traversing offsetParent() jQuery prevAll([expr]) jQuery filter(func) Filtering filter(expr) jQuery jQuery is(expr) Boolean map(func) jQuery not(expr) jQuery slice(start, [end]) jQuery children([expr]) Finding add(expr) jQuery jQuery closest([expr]) jQuery contents() jQuery find(expr) jQuery next([expr]) jQuery nextAll([expr]) jQuery parent([expr]) jQuery parents([expr]) jQuery prev([expr]) jQuery siblings([expr]) jQuery end() Chaining andSelf() jQuery jQuery FUNCTION RETURNS FUNCTION RETURNS FUNCTION RETURNS Selectors :visible Visibility Filters :hidden Array<Element> Array<Element> [attr=value] 2 Attribute Filters [attr] 2 Array<Element> Array<Element> [attr!=value] 2 Array<Element> [attr^=value] 2 Array<Element> [attr$=value] 2 Array<Element> [attr*=value] 2 Array<Element> [attr1][attr2][attrN] 2 Array<Element> :last-child :first-child Child Filters :nth-child(index | even | odd | equation) Array<Element> Array<Element> Array<Element> :only-child Array<Element> name #id .class selector1, selectorN Basic * previous + next parent > child previous ~ siblings Hierarchy ancestor descendant Array<Element> Array<Element> Array<Element> Array<Element> Array<Element> Array<Element> Array<Element> Array<Element> Array<Element> :not(selector) :last :even Basic Filters :first Array<Element> Array<Element> Array<Element> Array<Element> :odd Array<Element> :eq(index) Array<Element> :gt(index) Array<Element> :lt(index) Array<Element> :header Array<Element> :animated Array<Element> :text :input Forms :hidden Array<Element> Array<Element> Array<Element> :password Array<Element> :image :radio :checkbox Array<Element> Array<Element> Array<Element> :file Array<Element> :submit :button Array<Element> Array<Element> :reset Array<Element> :checked :disabled Form Filters :enabled Array<Element> Array<Element> Array<Element> :selected Array<Element> :has(selector) :empty Content Filters :contains(text) Array<Element> Array<Element> Array<Element> SELECTOR RETURNS SELECTOR RETURNS SELECTOR RETURNS SELECTOR RETURNS SELECTOR RETURNS SELECTOR RETURNS SELECTOR RETURNS SELECTOR RETURNS SELECTOR RETURNS 2) The [@attr] style selectors were removed in jQuery 1.3 :parent Array<Element> val(value) jQuery SYNTAX DESCRIPTION SYNTAX DESCRIPTIONSYNTAX DESCRIPTION
  • 2. Ajax serializeArray() Array<Object> serialize() String load(url, [data], [func]) $.ajax(options) $.get(url, [data], [func], [type]) XMLHttpRequest jQuery XMLHttpRequest $.getJSON(url, [data], [func]) XMLHttpRequest $.getScript(url, [func]) XMLHttpRequest $.post(url, [data], [func], [type]) XMLHttpRequest Utilities $.isArray(object) Boolean $.isFunction(object) Boolean jQuery 1.3 Cheat Sheet $.browser.version 5 $.browser 5 $.boxModel 5 $.support.boxModel 6 Browser & Feature Detection Map String Boolean Boolean PROPERTY RETURNS 5) Deprecated in jQuery 1.3 6) New in jQuery 1.3 $.support.cssFloat 6 Boolean $.support.hrefNormalized 6 Boolean $.support.htmlSerialize 6 Boolean $.support.leadingWhitespace 6 Boolean $.support.noCloneEvent 6 Boolean $.support.objectAll 6 Boolean $.support.opacity 6 Boolean $.support.scriptEval 6 Boolean $.support.style 6 Boolean $.support.tbody 6 Boolean $.extend([deep], target, object1, ..., [objectN]) $.each(object, func) Array & Object Operations Object Object FUNCTION RETURNS $.grep(array, func, [invert]) Array $.makeArray(object) Array $.map(array, func) Array $.inArray(value, array) Number $.merge(first, second) Array $.unique(array) Array Test Operations FUNCTION RETURNS $.trim(string) String Operations String FUNCTION RETURNS $.param(object) URLs String FUNCTION RETURNS Effects show(speed, [func]) show() hide() hide(speed, [func]) Basic jQuery jQuery jQuery jQuery FUNCTION RETURNS toggle() jQuery toggle(switch) jQuery toggle(speed, [func]) jQuery slideUp(speed, [func]) slideDown(speed, [func]) Sliding jQuery jQuery FUNCTION RETURNS slideToggle(speed, [func]) jQuery fadeOut(speed, [func]) fadeIn(speed, [func]) Fading jQuery jQuery FUNCTION RETURNS fadeTo(speed, opacity, [func]) jQuery animate(params, options) animate(params, [duration], [easing], [func]) Custom jQuery jQuery FUNCTION RETURNS stop([clearQueue], [gotoEnd]) jQuery $.fx.off Settings Boolean PROPERTY RETURNS ajaxError([func]) Events jQuery FUNCTION RETURNS ajaxSend([func]) jQuery ajaxStart([func]) jQuery ajaxStop([func]) jQuery $.ajaxSetup(options) Miscellaneous jQuery FUNCTION RETURNS Requests FUNCTION RETURNS ajaxComplete([func]) jQuery ajaxSuccess([func]) jQuery Events dblclick([func]) 4 jQuery blur([func]) 4 jQuery change([func]) 4 jQuery click([func]) 4 jQuery bind(type, [data], func) jQuery one(type, [data], func) jQuery trigger(event, [data]) jQuery triggerHandler(event, [data]) Object unbind([type], [data]) jQuery CSS position() Position offset() Object {top, left} Object {top, left} scrollTop() Integer scrollTop(value) jQuery scrollLeft() Integer scrollLeft(value) jQuery Dimension width() Integer width(value) jQuery height() Integer height(value) jQuery innerWidth() Integer innerHeight() Integer outerWidth([options]) Integer outerHeight([options]) Integer css(props) CSS css(name) String jQuery css(name, value) jQuery Page Load ready(func) jQuery Event Handling live(type, func) 3 jQuery die([type], [func]) 3 jQuery Live Events hover(over, out) jQuery toggle(func1, func2, ..., [funcN]) jQuery Interaction Helpers Event Helpers error([func]) 4 jQuery focus([func]) 4 jQuery keydown([func]) 4 jQuery keypress([func]) 4 jQuery keyup([func]) 4 jQuery load(func) jQuery mousedown(func) jQuery mousemove(func) jQuery mouseout(func) jQuery mouseover(func) jQuery mouseup(func) jQuery resize(func) jQuery scroll(func) jQuery select([func]) 4 jQuery submit([func]) 4 jQuery unload(func) jQuery 3) New in jQuery 1.3 4) Omitting the value triggers the events on each matched element FUNCTION RETURNS FUNCTION RETURNS FUNCTION RETURNS FUNCTION RETURNS FUNCTION RETURNS FUNCTION RETURNS FUNCTION RETURNS FUNCTION RETURNS stopPropagation() Undefined isDefaultPrevented() Boolean target type relatedTarget currentTarget Event Object String Element Element Element PROPERTY RETURNS pageX String pageY String result Object timeStamp Number preventDefault() Undefined isPropagationStopped() Boolean stopImmediatePropagation() Undefined isImmediatePropagationStopped() Boolean FUNCTION RETURNS [ ]| one argument only optional argumentargument Legend function functions or properties arguments SYNTAX DESCRIPTION SYNTAX DESCRIPTION SYNTAX DESCRIPTIONSYNTAX DESCRIPTION