SlideShare a Scribd company logo
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

More Related Content

What's hot

Switching from java to groovy
Switching from java to groovySwitching from java to groovy
Switching from java to groovy
Paul Woods
 
Hammurabi
HammurabiHammurabi
Hammurabi
Mario Fusco
 
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
tdc-globalcode
 
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
 
Grammarware Memes
Grammarware MemesGrammarware Memes
Grammarware Memes
Eelco Visser
 
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
 
EMFPath
EMFPathEMFPath
EMFPath
mikaelbarbero
 
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
 
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
Rob Napier
 
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
Mahmoud Samir Fayed
 
Scala in practice
Scala in practiceScala in practice
Scala in practice
andyrobinson8
 
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
Fedor Lavrentyev
 
JS OO and Closures
JS OO and ClosuresJS OO and Closures
JS OO and Closures
Jussi Pohjolainen
 
Patterns for slick database applications
Patterns for slick database applicationsPatterns for slick database applications
Patterns for slick database applications
Skills Matter
 
Swift에서 꼬리재귀 사용기 (Tail Recursion)
Swift에서 꼬리재귀 사용기 (Tail Recursion)Swift에서 꼬리재귀 사용기 (Tail Recursion)
Swift에서 꼬리재귀 사용기 (Tail Recursion)
진성 오
 

What's hot (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)
 

Viewers also liked

Votingvoxpop
VotingvoxpopVotingvoxpop
Votingvoxpop
danielharrison12
 
Sistema de Franquias Trainertek - Seja um franqueado
Sistema de Franquias Trainertek - Seja um franqueadoSistema de Franquias Trainertek - Seja um franqueado
Sistema de Franquias Trainertek - Seja um franqueado
Brainstorm Consultorias
 
Luf
LufLuf
Dominica Second passport
Dominica Second passportDominica Second passport
Dominica Second passport
Dan Group Immigration
 
Np nombramiento secretario gral aerce
Np nombramiento secretario gral aerceNp nombramiento secretario gral aerce
Np nombramiento secretario gral aerce
evercom
 
Curriculo de Miguel Hernández Acarigua Portuguesa
Curriculo de Miguel Hernández Acarigua PortuguesaCurriculo de Miguel Hernández Acarigua Portuguesa
Curriculo de Miguel Hernández Acarigua Portuguesa
pùblica
 
PROYECTO INTERDISCIPLINARIO MULTIMEDIAL
PROYECTO INTERDISCIPLINARIO MULTIMEDIALPROYECTO INTERDISCIPLINARIO MULTIMEDIAL
PROYECTO INTERDISCIPLINARIO MULTIMEDIAL
octavio1219104
 
JPS Presentaion 100615 x7 pptx
JPS Presentaion 100615 x7  pptxJPS Presentaion 100615 x7  pptx
JPS Presentaion 100615 x7 pptx
Anand Sayajirao Jadhav
 
How to identify chemicals from their names
How to identify chemicals from their namesHow to identify chemicals from their names
How to identify chemicals from their names
Tmarts
 
Green day 1000 smoothed out slappy hours
Green day   1000 smoothed out slappy hoursGreen day   1000 smoothed out slappy hours
Green day 1000 smoothed out slappy hours
Gerardo Daniel Gallo
 
Switchtec Kudom Catalogue 2014
Switchtec Kudom Catalogue 2014Switchtec Kudom Catalogue 2014
Switchtec Kudom Catalogue 2014
Andy Birdsall
 
Ow és fantástica
Ow és fantásticaOw és fantástica
Ow és fantástica
KikiiPT
 

Viewers also liked (13)

Votingvoxpop
VotingvoxpopVotingvoxpop
Votingvoxpop
 
Sistema de Franquias Trainertek - Seja um franqueado
Sistema de Franquias Trainertek - Seja um franqueadoSistema de Franquias Trainertek - Seja um franqueado
Sistema de Franquias Trainertek - Seja um franqueado
 
Luf
LufLuf
Luf
 
Dominica Second passport
Dominica Second passportDominica Second passport
Dominica Second passport
 
Np nombramiento secretario gral aerce
Np nombramiento secretario gral aerceNp nombramiento secretario gral aerce
Np nombramiento secretario gral aerce
 
Curriculo de Miguel Hernández Acarigua Portuguesa
Curriculo de Miguel Hernández Acarigua PortuguesaCurriculo de Miguel Hernández Acarigua Portuguesa
Curriculo de Miguel Hernández Acarigua Portuguesa
 
PROYECTO INTERDISCIPLINARIO MULTIMEDIAL
PROYECTO INTERDISCIPLINARIO MULTIMEDIALPROYECTO INTERDISCIPLINARIO MULTIMEDIAL
PROYECTO INTERDISCIPLINARIO MULTIMEDIAL
 
JPS Presentaion 100615 x7 pptx
JPS Presentaion 100615 x7  pptxJPS Presentaion 100615 x7  pptx
JPS Presentaion 100615 x7 pptx
 
How to identify chemicals from their names
How to identify chemicals from their namesHow to identify chemicals from their names
How to identify chemicals from their names
 
Green day 1000 smoothed out slappy hours
Green day   1000 smoothed out slappy hoursGreen day   1000 smoothed out slappy hours
Green day 1000 smoothed out slappy hours
 
Switchtec Kudom Catalogue 2014
Switchtec Kudom Catalogue 2014Switchtec Kudom Catalogue 2014
Switchtec Kudom Catalogue 2014
 
Ow és fantástica
Ow és fantásticaOw és fantástica
Ow és fantástica
 
Ex jour
Ex jourEx jour
Ex jour
 

Similar to Jquery 1.3 cheatsheet_v1

Jquery.cheatsheet.1.4
Jquery.cheatsheet.1.4Jquery.cheatsheet.1.4
Jquery.cheatsheet.1.4
Сергей Ткалич
 
Hadoop + Clojure
Hadoop + ClojureHadoop + Clojure
Hadoop + Clojure
elliando dias
 
JQuery introduction
JQuery introductionJQuery introduction
JQuery introduction
Pradeep Saraswathi
 
Hw09 Hadoop + Clojure
Hw09   Hadoop + ClojureHw09   Hadoop + Clojure
Hw09 Hadoop + Clojure
Cloudera, Inc.
 
Meet scala
Meet scalaMeet scala
Meet scala
Wojciech Pituła
 
Basics of j query
Basics of j queryBasics of j query
Basics of j query
Rupesh Kumar Tiwari
 
Underscore.js
Underscore.jsUnderscore.js
Underscore.js
timourian
 
(map Clojure everyday-tasks)
(map Clojure everyday-tasks)(map Clojure everyday-tasks)
(map Clojure everyday-tasks)
Jacek Laskowski
 
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
Istanbul Tech Talks
 
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
 
jQuery
jQueryjQuery
jQuery
Jay Poojara
 
Swift 함수 커링 사용하기
Swift 함수 커링 사용하기Swift 함수 커링 사용하기
Swift 함수 커링 사용하기
진성 오
 
Prototype Framework
Prototype FrameworkPrototype Framework
Prototype Framework
Julie Iskander
 
JSConf: All You Can Leet
JSConf: All You Can LeetJSConf: All You Can Leet
JSConf: All You Can Leet
johndaviddalton
 
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
 
jQuery Rescue Adventure
jQuery Rescue AdventurejQuery Rescue Adventure
jQuery Rescue Adventure
Allegient
 
Javascript And J Query
Javascript And J QueryJavascript And J Query
Javascript And J Query
itsarsalan
 
Comparing JVM languages
Comparing JVM languagesComparing JVM languages
Comparing JVM languages
Jose Manuel Ortega Candel
 

Similar to Jquery 1.3 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
 

Recently uploaded

E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
Quickdice ERP
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
TaghreedAltamimi
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
Sven Peters
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
Peter Muessig
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 
What is Master Data Management by PiLog Group
What is Master Data Management by PiLog GroupWhat is Master Data Management by PiLog Group
What is Master Data Management by PiLog Group
aymanquadri279
 
SQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure MalaysiaSQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure Malaysia
GohKiangHock
 

Recently uploaded (20)

E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 
What is Master Data Management by PiLog Group
What is Master Data Management by PiLog GroupWhat is Master Data Management by PiLog Group
What is Master Data Management by PiLog Group
 
SQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure MalaysiaSQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure Malaysia
 

Jquery 1.3 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