Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
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
140
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
A Brief Introduction to jQuery
Old presentation from the archives.
James Hughes
October 22, 2010
More Decks by James Hughes
See All by James Hughes
Functional Programming with Clojure
kouphax
1
150
Tyrannosaurus Rx
kouphax
0
140
React
kouphax
2
750
Play for (Java|Scala)
kouphax
0
150
Devops: A Case Study
kouphax
0
110
Scala for C# Developers
kouphax
5
2.7k
Dropwizard - Production Ready Web Services
kouphax
3
1.7k
Scala for Fun & Profit
kouphax
4
670
What Agile Means To Me
kouphax
0
180
Other Decks in Programming
See All in Programming
Oxcを導入して開発体験が向上した話
yug1224
4
310
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
280
技術記事、 専門家としてのプログラマ、 言語化
mizchi
13
5.6k
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
2
630
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
740
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5k
運用エージェントは "作る" から "育てる" へ - 記憶と自己進化の3層設計パターン / self-evolving-agents-three-layer-agent-design
gawa
12
3.7k
エージェンティックRAGにAWSで入門しよう!
har1101
8
1.5k
A2UI という光を覗いてみる
satohjohn
1
130
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
1.3k
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
21
6.6k
タクシーアプリ『GO』の バックエンド開発のおける AI利活用と若者のすべて
pyama86
3
2k
Featured
See All Featured
Evolving SEO for Evolving Search Engines
ryanjones
0
220
We Are The Robots
honzajavorek
0
250
Being A Developer After 40
akosma
91
590k
A Modern Web Designer's Workflow
chriscoyier
698
190k
BBQ
matthewcrist
89
10k
Six Lessons from altMBA
skipperchong
29
4.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
The Limits of Empathy - UXLibs8
cassininazir
1
360
The agentic SEO stack - context over prompts
schlessera
0
820
How to Talk to Developers About Accessibility
jct
2
230
The Language of Interfaces
destraynor
162
27k
Docker and Python
trallard
47
3.9k
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?