SlideShare a Scribd company logo
As a JavaScript library Shorthand & Utilities functions Document Object Model Elements, Attributes, Styles, Events Effects / Animation Asynchronous JavaScript And XML As an UI development framework Community Plugins Widgets & Themes Extending jQuery object
 
View in browser (frontend / user interface) jQuery JavaScript (HTML + CSS) Document Object Model A Re-introduction to JavaScript $ /jQuery at first sight CSS Selectors jQuery Selectors Traversing DOM DOM Attributes Event handling AJAX / Firebug Effects / jQuery UI  Plugins / jqGrid Plugin: jQuery.fn. x
Basic requirement Language neutral & platform independent Document & content manipulation Can programmatically access &  manipulate  elements, attributes & content Event model All elements can generate  events Interface for  binding  events Stylesheet object model Selectors ,  rules  and  properties  of individual style sheets can be added, removed and changed
Document Object Model
The world’s most misunderstood programming language - Douglas Crockford 2001 LiveScript / JavaScript / JScript / ECMAScript Name, Design Errors, Bad Books, Substandard No concept of input or output Host environment scripting Can be Object-Oriented:  prototype new delete Can have private variables & private methods Can use classical inheritance & other code reuse patterns
 
 
{  // JavaScript Object Notation name: value, key: obj, array: [true,1, ' string '," str " ,[],{a:null}] }
 
$ /jQuery at first sight
jQuery as (an object-based) library document.getElementById(‘id’) $(‘#id’) document.getElementsByTagName(‘tag’) $(‘tag’) document.getElementsByClassName(‘cls’) $(‘.cls’) elm.style.display = ‘none’ $(elm).css(‘display’, ‘none’) $(elm).hide() // .show() elm.className = ‘cls’ $(elm).addClass(‘cls’) $(elm).removeClass(‘cls’) $(elm).hasClass(‘cls’) $(elm).toggleClass(‘cls’)
CSS Selectors
jQuery Selectors
jQuery Selectors - Forms
 
Traversing DOM (with firebug)
Traversing DOM
DOM Attributes
 
Event handling
Event handling
Asynchronous JavaScript And XML
Asynchronous JavaScript And XML
Asynchronous JavaScript And XML
Utilities $.trim('  some text  ');
Effects
 
 
 
Plugin: jQuery.fn. x
Plugin: jQuery.fn. x
As a JavaScript library Shorthand & Utilities functions Document Object Model Elements, Attributes, Styles, Events Effects / Animation Asynchronous JavaScript And XML As an UI development framework Community Plugins Widgets & Themes Extending jQuery object
 

More Related Content

What's hot (20)

PPT
Designers Guide To jQuery
Steve Krueger
 
KEY
Week3
Will Gaybrick
 
PPTX
jQuery Best Practice
chandrashekher786
 
PPTX
jQuery Fundamentals
Gil Fink
 
PPTX
Efficient use of jQuery selector
chandrashekher786
 
PPTX
Cross Platform Mobile Development
Avner Solomon
 
PPTX
Slide curs-10
Avner Solomon
 
PDF
Javascript session june 2013 (iii) jquery json
abksharma
 
PPTX
Internet and Web Technology (CLASS-10) [Node.js] | NIC/NIELIT Web Technology
Ayes Chinmay
 
PPTX
Java script
rajshreemuthiah
 
PDF
Slashdot Tags
jamiemccarthy
 
PPT
Kick start with j query
Md. Ziaul Haq
 
PPTX
AngulrJS Overview
Eyal Vardi
 
PDF
Jquery presentation
Mevin Mohan
 
PPT
jQuery Learning
Uzair Ali
 
PPTX
Java script
Sukrit Gupta
 
PPTX
SharePoint Cincy 2012 - jQuery essentials
Mark Rackley
 
PPTX
JQuery
Jussi Pohjolainen
 
KEY
Nothing Hard Baked: Designing the Inclusive Web
colinbdclark
 
PDF
Short intro to JQuery and Modernizr
Jussi Pohjolainen
 
Designers Guide To jQuery
Steve Krueger
 
jQuery Best Practice
chandrashekher786
 
jQuery Fundamentals
Gil Fink
 
Efficient use of jQuery selector
chandrashekher786
 
Cross Platform Mobile Development
Avner Solomon
 
Slide curs-10
Avner Solomon
 
Javascript session june 2013 (iii) jquery json
abksharma
 
Internet and Web Technology (CLASS-10) [Node.js] | NIC/NIELIT Web Technology
Ayes Chinmay
 
Java script
rajshreemuthiah
 
Slashdot Tags
jamiemccarthy
 
Kick start with j query
Md. Ziaul Haq
 
AngulrJS Overview
Eyal Vardi
 
Jquery presentation
Mevin Mohan
 
jQuery Learning
Uzair Ali
 
Java script
Sukrit Gupta
 
SharePoint Cincy 2012 - jQuery essentials
Mark Rackley
 
Nothing Hard Baked: Designing the Inclusive Web
colinbdclark
 
Short intro to JQuery and Modernizr
Jussi Pohjolainen
 

Viewers also liked (20)

PPTX
Clicklaw wikibooks for CBA dial-a-law
Nathaniel Russell
 
PPT
Wikis: Getting Started
Jeremy Brueck
 
PDF
JavaScript & Animation
Caesar Chi
 
PPTX
Innovation in peer review
Maria_Kowalczuk
 
PDF
Write wikibooks!? Integrative Media Education #ECER2016
Franco Rau
 
PPT
Java Script Animation
rbiggs
 
PPTX
Javascript Animation with Canvas - Gregory Starr 2015
Gregory Starr
 
PDF
Books without-boundaries
philwane
 
PPTX
Introduction to Peer review, updated 2015-03-05
Wouter Gerritsma
 
PPTX
Advertising and public relation buuhoodle
khaatumo
 
PPTX
how does public relation helps?
Anuj Usare
 
PDF
Online - Exposing Scientific Peer Review (Oct08)
Alex J Mitchell
 
PPT
Peer review
Ankit Agarwal
 
PDF
Spider diagram for gender analysis
Md. Shariful Hoque
 
PPTX
Direct marketing and public relation
deepu2000
 
PPTX
Scientific publications and peer review ethics
Aboul Ella Hassanien
 
PPTX
Social Media: A Presentation for Public Relation Professionals in the Ski Res...
Greg Wood
 
PPTX
Public relation pitch
Muhammad H. Tawfik
 
PPTX
Public relation
Anuj Usare
 
Clicklaw wikibooks for CBA dial-a-law
Nathaniel Russell
 
Wikis: Getting Started
Jeremy Brueck
 
JavaScript & Animation
Caesar Chi
 
Innovation in peer review
Maria_Kowalczuk
 
Write wikibooks!? Integrative Media Education #ECER2016
Franco Rau
 
Java Script Animation
rbiggs
 
Javascript Animation with Canvas - Gregory Starr 2015
Gregory Starr
 
Books without-boundaries
philwane
 
Introduction to Peer review, updated 2015-03-05
Wouter Gerritsma
 
Advertising and public relation buuhoodle
khaatumo
 
how does public relation helps?
Anuj Usare
 
Online - Exposing Scientific Peer Review (Oct08)
Alex J Mitchell
 
Peer review
Ankit Agarwal
 
Spider diagram for gender analysis
Md. Shariful Hoque
 
Direct marketing and public relation
deepu2000
 
Scientific publications and peer review ethics
Aboul Ella Hassanien
 
Social Media: A Presentation for Public Relation Professionals in the Ski Res...
Greg Wood
 
Public relation pitch
Muhammad H. Tawfik
 
Public relation
Anuj Usare
 
Ad

Similar to Introuction To jQuery (20)

PPT
Eugene Andruszczenko: jQuery
Refresh Events
 
PPT
jQuery Presentation - Refresh Events
Eugene Andruszczenko
 
PPT
jQuery and_drupal
BlackCatWeb
 
PPT
Jquery
Fridz Felisco
 
PPTX
Unobtrusive javascript with jQuery
Angel Ruiz
 
PPT
JQuery: Introduction
Amit Kumar Singh
 
PDF
jQuery
Ivano Malavolta
 
PPTX
jQuery presentation
Mahesh Reddy
 
PDF
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
Sean Burgess
 
PPTX
jQuery basics for Beginners
Pooja Saxena
 
PPTX
Jquery beltranhomewrok
Catherine Beltran
 
PPTX
Jquery beltranhomewrok
Catherine Beltran
 
PPTX
JavaScript!
RTigger
 
PPTX
jQuery
Jay Poojara
 
KEY
An in-depth look at jQuery
Paul Bakaus
 
KEY
Week 4 - jQuery + Ajax
baygross
 
PPT
jQuery Tips Tricks Trivia
Cognizant
 
PPTX
jQuery
Jeremiah Gatong
 
PDF
What's this jQuery? Where it came from, and how it will drive innovation
Marakana Inc.
 
PPTX
Introduction to jQuery
James Johnson
 
Eugene Andruszczenko: jQuery
Refresh Events
 
jQuery Presentation - Refresh Events
Eugene Andruszczenko
 
jQuery and_drupal
BlackCatWeb
 
Unobtrusive javascript with jQuery
Angel Ruiz
 
JQuery: Introduction
Amit Kumar Singh
 
jQuery presentation
Mahesh Reddy
 
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
Sean Burgess
 
jQuery basics for Beginners
Pooja Saxena
 
Jquery beltranhomewrok
Catherine Beltran
 
Jquery beltranhomewrok
Catherine Beltran
 
JavaScript!
RTigger
 
jQuery
Jay Poojara
 
An in-depth look at jQuery
Paul Bakaus
 
Week 4 - jQuery + Ajax
baygross
 
jQuery Tips Tricks Trivia
Cognizant
 
What's this jQuery? Where it came from, and how it will drive innovation
Marakana Inc.
 
Introduction to jQuery
James Johnson
 
Ad

Recently uploaded (20)

PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Python basic programing language for automation
DanialHabibi2
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 

Introuction To jQuery

  • 1. As a JavaScript library Shorthand & Utilities functions Document Object Model Elements, Attributes, Styles, Events Effects / Animation Asynchronous JavaScript And XML As an UI development framework Community Plugins Widgets & Themes Extending jQuery object
  • 2.  
  • 3. View in browser (frontend / user interface) jQuery JavaScript (HTML + CSS) Document Object Model A Re-introduction to JavaScript $ /jQuery at first sight CSS Selectors jQuery Selectors Traversing DOM DOM Attributes Event handling AJAX / Firebug Effects / jQuery UI Plugins / jqGrid Plugin: jQuery.fn. x
  • 4. Basic requirement Language neutral & platform independent Document & content manipulation Can programmatically access & manipulate elements, attributes & content Event model All elements can generate events Interface for binding events Stylesheet object model Selectors , rules and properties of individual style sheets can be added, removed and changed
  • 6. The world’s most misunderstood programming language - Douglas Crockford 2001 LiveScript / JavaScript / JScript / ECMAScript Name, Design Errors, Bad Books, Substandard No concept of input or output Host environment scripting Can be Object-Oriented: prototype new delete Can have private variables & private methods Can use classical inheritance & other code reuse patterns
  • 7.  
  • 8.  
  • 9. { // JavaScript Object Notation name: value, key: obj, array: [true,1, ' string '," str " ,[],{a:null}] }
  • 10.  
  • 11. $ /jQuery at first sight
  • 12. jQuery as (an object-based) library document.getElementById(‘id’) $(‘#id’) document.getElementsByTagName(‘tag’) $(‘tag’) document.getElementsByClassName(‘cls’) $(‘.cls’) elm.style.display = ‘none’ $(elm).css(‘display’, ‘none’) $(elm).hide() // .show() elm.className = ‘cls’ $(elm).addClass(‘cls’) $(elm).removeClass(‘cls’) $(elm).hasClass(‘cls’) $(elm).toggleClass(‘cls’)
  • 16.  
  • 20.  
  • 26. Utilities $.trim(' some text ');
  • 28.  
  • 29.  
  • 30.  
  • 33. As a JavaScript library Shorthand & Utilities functions Document Object Model Elements, Attributes, Styles, Events Effects / Animation Asynchronous JavaScript And XML As an UI development framework Community Plugins Widgets & Themes Extending jQuery object
  • 34.