Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
A Brief Introduction to jQuery
Search
James Hughes
October 22, 2010
Programming
3
140
A Brief Introduction to jQuery
Old presentation from the archives.
James Hughes
October 22, 2010
Tweet
Share
More Decks by James Hughes
See All by James Hughes
Functional Programming with Clojure
kouphax
1
140
Tyrannosaurus Rx
kouphax
0
120
React
kouphax
2
730
Play for (Java|Scala)
kouphax
0
130
Devops: A Case Study
kouphax
0
89
Scala for C# Developers
kouphax
5
2.7k
Dropwizard - Production Ready Web Services
kouphax
3
1.6k
Scala for Fun & Profit
kouphax
4
640
What Agile Means To Me
kouphax
0
150
Other Decks in Programming
See All in Programming
The Art of Re-Architecture - Droidcon India 2025
siddroid
0
120
Rediscover the Console - SymfonyCon Amsterdam 2025
chalasr
2
180
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
140
生成AIを利用するだけでなく、投資できる組織へ
pospome
2
380
手が足りない!兼業データエンジニアに必要だったアーキテクチャと立ち回り
zinkosuke
0
800
著者と進める!『AIと個人開発したくなったらまずCursorで要件定義だ!』
yasunacoffee
0
150
まだ間に合う!Claude Code元年をふりかえる
nogu66
5
870
FluorTracer / RayTracingCamp11
kugimasa
0
240
ZOZOにおけるAI活用の現在 ~モバイルアプリ開発でのAI活用状況と事例~
zozotech
PRO
9
5.9k
AIコーディングエージェント(Gemini)
kondai24
0
260
LLM Çağında Backend Olmak: 10 Milyon Prompt'u Milisaniyede Sorgulamak
selcukusta
0
130
Developing static sites with Ruby
okuramasafumi
0
320
Featured
See All Featured
A Tale of Four Properties
chriscoyier
162
23k
The SEO identity crisis: Don't let AI make you average
varn
0
32
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
400
WCS-LA-2024
lcolladotor
0
380
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
120
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
85
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
160
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
87
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Fireside Chat
paigeccino
41
3.8k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
Transcript
Introduc)on to jQuery
Overview
Overview
Non-‐Pollu)ng jQuery.noConflict();
Small Footprint ~ 19KB (Minified & Gzipped)
Cross Browser Compliant A+
Extensible
Selector Performance
Popularity (Support & Innova)on)
Simple Premise $(“#id”, “div.class”) .show() .$(…)
Chainability $(“#id”) .hide() .width(300) .fadeIn()
The jQuery Object
$(…) The jQuery Func)on
The API
Extending
Custom Filters /* * jQuery Input Modified
Filter */ $.extend($.expr[':'], { modified: func)on(el) { return $(el).is("input") && el.defaultValue != el.value; } }); /* Clear all modified input elements */ $("input:modified") .val(“”);
Custom Plugin /* * jQuery
Zebra Stripping Plugin */ jQuery.fn.zebra = funcQon(odd, even) { return this.find("tr:odd").css("background-‐color", odd) .end().find("tr:even").css("background-‐color", even); } //or $.fn.extend({ zebra : funcQon(){…} }) /* Apply Stripping to all tables in DOM */ $("table").zebra("#fff", "#eee");
Why jQuery?
vs.
vs.
vs.
vs.
vs.
None
None
Ques)ons?