Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
A Brief Introduction to jQuery
Search
James Hughes
October 22, 2010
Programming
150
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
170
Tyrannosaurus Rx
kouphax
0
140
React
kouphax
2
760
Play for (Java|Scala)
kouphax
0
160
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
680
What Agile Means To Me
kouphax
0
190
Other Decks in Programming
See All in Programming
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
310
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
350
App Intentsのビルドプロセスを支える技術
kntkymt
0
490
SONY CISC-NEWS NWS-1750 + NWB-225 フレームバッファの NetBSD/news68k ドライバ実装 / OSC2026Hiroshima
tsutsui
0
160
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
230
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
230
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
1
110
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
8
5.3k
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
280
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
180
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
200
iOSDCのペンライトを自動制御したい!
akkeylab
0
320
Featured
See All Featured
Producing Creativity
orderedlist
PRO
348
41k
The Language of Interfaces
destraynor
162
27k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
Building Applications with DynamoDB
mza
96
7.2k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
A better future with KSS
kneath
240
18k
Mobile First: as difficult as doing things right
swwweet
225
10k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
3
4.3k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
270
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
600
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
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?