SlideShare une entreprise Scribd logo
1  sur  24
jQuery
$(document).getJiggy();
Overview
• Print Buttons - Gallery Walk
Lecture
• What is a (JavaScript) Library?
• jQuery verse
• How to add jQuery to a page
• jQuery API
• jQuery plugins
Lab
Simple jQuery Form Validation



09 - jQuery              Advanced Web Design   http://dabrook.org/
What’s a Libary?




09 - jQuery      Advanced Web Design   http://dabrook.org/
What’s a Libary?



• Library of code




09 - jQuery            Advanced Web Design   http://dabrook.org/
What’s a Libary?



• Library of code
• Writes out common code




09 - jQuery          Advanced Web Design   http://dabrook.org/
What’s a Libary?



• Library of code
• Writes out common code
• Solves difficult problems




09 - jQuery           Advanced Web Design   http://dabrook.org/
What’s a Libary?



• Library of code
• Writes out common code
• Solves difficult problems
• Makes complex easier




09 - jQuery           Advanced Web Design   http://dabrook.org/
JavaScript Libraries




09 - jQuery        Advanced Web Design   http://dabrook.org/
How to Add jQuery




09 - jQuery       Advanced Web Design   http://dabrook.org/
How to Add jQuery

      1. Locally




09 - jQuery            Advanced Web Design   http://dabrook.org/
How to Add jQuery

      1. Locally



      2. jQuery




09 - jQuery            Advanced Web Design   http://dabrook.org/
How to Add jQuery

      1. Locally



      2. jQuery



      3. Other Content Delivery Networks (CDN)




09 - jQuery            Advanced Web Design       http://dabrook.org/
Mini Lab

     • Create a new document: how-to-add-jquery.html
     • Function to test if jQuery is running



     • Try adding jQuery from jQuery
     • Try adding jQuery locally



09 - jQuery             Advanced Web Design       http://dabrook.org/
jQuery API



• AJAX       • Date            •Events           • Selectors
• Attributes • Dimensions      • Forms           • Traversing
•CSS         •Effects          • Manipulations   • Utilities




09 - jQuery           Advanced Web Design          http://dabrook.org/
Mini Lab


     • Create a new document: jquery-api-practice.html
     • Practice using the following from the jQuery API:
       • Selectors
       • Effects
       • CSS
       • Events



09 - jQuery              Advanced Web Design         http://dabrook.org/
jQuery Plugins




09 - jQuery      Advanced Web Design   http://dabrook.org/
jQuery Plugins

• Built with/on jQuery




09 - jQuery              Advanced Web Design   http://dabrook.org/
jQuery Plugins

• Built with/on jQuery
• Link to Plugin js file




09 - jQuery               Advanced Web Design   http://dabrook.org/
jQuery Plugins

• Built with/on jQuery
• Link to Plugin js file
• Solve specific solution




09 - jQuery                Advanced Web Design   http://dabrook.org/
jQuery Plugins

• Built with/on jQuery
• Link to Plugin js file
• Solve specific solution
• Use jQuery syntax




09 - jQuery                Advanced Web Design   http://dabrook.org/
jQuery Plugins

• Built with/on jQuery
• Link to Plugin js file
• Solve specific solution
• Use jQuery syntax
• Range of ease of use




09 - jQuery                Advanced Web Design   http://dabrook.org/
jQuery Plugins

• Built with/on jQuery
• Link to Plugin js file
• Solve specific solution
• Use jQuery syntax
• Range of ease of use
• Examples




09 - jQuery                Advanced Web Design   http://dabrook.org/
Lab


     • Create a new document: form-validation-js.html
     • Add HTML and CSS for a basic page
       contact form
     • Link to the validation plugin




09 - jQuery                Advanced Web Design      http://dabrook.org/
Homework

Add jQuery form validation to your web site as well as one
other jQuery behavior (or plugin) of your choice.  Make sure
that it works properly and you can explain why you chose
that behavior.


Upload to:
username.welovewebdesign.com/hw/09/




09 - jQuery             Advanced Web Design        http://dabrook.org/

Contenu connexe

Tendances

Capybara-Webkit
Capybara-WebkitCapybara-Webkit
Capybara-Webkit
bostonrb
 
jQuery From the Ground Up
jQuery From the Ground UpjQuery From the Ground Up
jQuery From the Ground Up
Kevin Griffin
 
HTML5 Web Workers-unleashed
HTML5 Web Workers-unleashedHTML5 Web Workers-unleashed
HTML5 Web Workers-unleashed
Peter Lubbers
 
ASP.NET MVC From The Ground Up
ASP.NET MVC From The Ground UpASP.NET MVC From The Ground Up
ASP.NET MVC From The Ground Up
Kevin Griffin
 

Tendances (20)

Extending WordPress as a pro
Extending WordPress as a proExtending WordPress as a pro
Extending WordPress as a pro
 
VelocityConf EU 2013 - Turbocharge your mobile web apps by using offline
VelocityConf EU 2013 - Turbocharge your mobile web apps by using offline VelocityConf EU 2013 - Turbocharge your mobile web apps by using offline
VelocityConf EU 2013 - Turbocharge your mobile web apps by using offline
 
Disrupting the application eco system with progressive web applications
Disrupting the application eco system with progressive web applicationsDisrupting the application eco system with progressive web applications
Disrupting the application eco system with progressive web applications
 
Capybara-Webkit
Capybara-WebkitCapybara-Webkit
Capybara-Webkit
 
Develop a vanilla.js spa you and your customers will love
Develop a vanilla.js spa you and your customers will loveDevelop a vanilla.js spa you and your customers will love
Develop a vanilla.js spa you and your customers will love
 
HTML Semantic Tags
HTML Semantic TagsHTML Semantic Tags
HTML Semantic Tags
 
Wordcamp Toronto Presentation
Wordcamp Toronto PresentationWordcamp Toronto Presentation
Wordcamp Toronto Presentation
 
Web Components at Scale, HTML5DevConf 2014-10-21
Web Components at Scale, HTML5DevConf 2014-10-21Web Components at Scale, HTML5DevConf 2014-10-21
Web Components at Scale, HTML5DevConf 2014-10-21
 
jQuery From the Ground Up
jQuery From the Ground UpjQuery From the Ground Up
jQuery From the Ground Up
 
Html5 with SharePoint 2010
Html5 with SharePoint 2010Html5 with SharePoint 2010
Html5 with SharePoint 2010
 
Advanced front end debugging with ms edge and ms tools
Advanced front end debugging with ms edge and ms toolsAdvanced front end debugging with ms edge and ms tools
Advanced front end debugging with ms edge and ms tools
 
HTML5 Web Workers-unleashed
HTML5 Web Workers-unleashedHTML5 Web Workers-unleashed
HTML5 Web Workers-unleashed
 
10 things you can do to speed up your web app today 2016
10 things you can do to speed up your web app today 201610 things you can do to speed up your web app today 2016
10 things you can do to speed up your web app today 2016
 
ASP.NET MVC From The Ground Up
ASP.NET MVC From The Ground UpASP.NET MVC From The Ground Up
ASP.NET MVC From The Ground Up
 
Developing JavaScript Widgets
Developing JavaScript WidgetsDeveloping JavaScript Widgets
Developing JavaScript Widgets
 
Service workers your applications never felt so good
Service workers   your applications never felt so goodService workers   your applications never felt so good
Service workers your applications never felt so good
 
Features: A better way to package stuff in Drupal
Features: A better way to package stuff in DrupalFeatures: A better way to package stuff in Drupal
Features: A better way to package stuff in Drupal
 
New Features in the Evoq CMS
New Features in the Evoq CMSNew Features in the Evoq CMS
New Features in the Evoq CMS
 
Optimizing Your Site for Holiday Traffic
Optimizing Your Site for Holiday TrafficOptimizing Your Site for Holiday Traffic
Optimizing Your Site for Holiday Traffic
 
WordPress and Client Side Web Applications WCTO
WordPress and Client Side Web Applications WCTOWordPress and Client Side Web Applications WCTO
WordPress and Client Side Web Applications WCTO
 

Similaire à Introduction to jQuery - College Lecture

jQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPagesjQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPages
Mark Roden
 
J query presentation
J query presentationJ query presentation
J query presentation
akanksha17
 
J query presentation
J query presentationJ query presentation
J query presentation
sawarkar17
 
jQuery 1.4-1.6 Best new features
jQuery 1.4-1.6 Best new featuresjQuery 1.4-1.6 Best new features
jQuery 1.4-1.6 Best new features
Ryan Blunden
 
Chapter15-Presentation.pptx
Chapter15-Presentation.pptxChapter15-Presentation.pptx
Chapter15-Presentation.pptx
GFRomano
 
Introduction to Javascript - College Lecture
Introduction to Javascript - College LectureIntroduction to Javascript - College Lecture
Introduction to Javascript - College Lecture
Zac Gordon
 
Intro to SPA using JavaScript & ASP.NET
Intro to SPA using JavaScript & ASP.NETIntro to SPA using JavaScript & ASP.NET
Intro to SPA using JavaScript & ASP.NET
Alan Hecht
 

Similaire à Introduction to jQuery - College Lecture (20)

Jquery
JqueryJquery
Jquery
 
jQuery - Chapter 1 - Introduction
 jQuery - Chapter 1 - Introduction jQuery - Chapter 1 - Introduction
jQuery - Chapter 1 - Introduction
 
Jquery
JqueryJquery
Jquery
 
Introduction to Jquery
Introduction to JqueryIntroduction to Jquery
Introduction to Jquery
 
jQuery
jQueryjQuery
jQuery
 
jQuery: The World's Most Popular JavaScript Library Comes to XPages
jQuery: The World's Most Popular JavaScript Library Comes to XPagesjQuery: The World's Most Popular JavaScript Library Comes to XPages
jQuery: The World's Most Popular JavaScript Library Comes to XPages
 
jQuery On Rails
jQuery On RailsjQuery On Rails
jQuery On Rails
 
No Feature Solutions with SharePoint
No Feature Solutions with SharePointNo Feature Solutions with SharePoint
No Feature Solutions with SharePoint
 
JQuery UI
JQuery UIJQuery UI
JQuery UI
 
What is jQuery?
What is jQuery?What is jQuery?
What is jQuery?
 
jQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPagesjQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPages
 
Creating a Documentation Portal
Creating a Documentation PortalCreating a Documentation Portal
Creating a Documentation Portal
 
J query presentation
J query presentationJ query presentation
J query presentation
 
J query presentation
J query presentationJ query presentation
J query presentation
 
jQuery 1.4-1.6 Best new features
jQuery 1.4-1.6 Best new featuresjQuery 1.4-1.6 Best new features
jQuery 1.4-1.6 Best new features
 
Chapter15-Presentation.pptx
Chapter15-Presentation.pptxChapter15-Presentation.pptx
Chapter15-Presentation.pptx
 
Introduction to Javascript - College Lecture
Introduction to Javascript - College LectureIntroduction to Javascript - College Lecture
Introduction to Javascript - College Lecture
 
What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...
What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...
What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...
 
Introduction to Web Components & Polymer Workshop - U of I WebCon
Introduction to Web Components & Polymer Workshop - U of I WebConIntroduction to Web Components & Polymer Workshop - U of I WebCon
Introduction to Web Components & Polymer Workshop - U of I WebCon
 
Intro to SPA using JavaScript & ASP.NET
Intro to SPA using JavaScript & ASP.NETIntro to SPA using JavaScript & ASP.NET
Intro to SPA using JavaScript & ASP.NET
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Introduction to jQuery - College Lecture

  • 2. Overview • Print Buttons - Gallery Walk Lecture • What is a (JavaScript) Library? • jQuery verse • How to add jQuery to a page • jQuery API • jQuery plugins Lab Simple jQuery Form Validation 09 - jQuery Advanced Web Design http://dabrook.org/
  • 3. What’s a Libary? 09 - jQuery Advanced Web Design http://dabrook.org/
  • 4. What’s a Libary? • Library of code 09 - jQuery Advanced Web Design http://dabrook.org/
  • 5. What’s a Libary? • Library of code • Writes out common code 09 - jQuery Advanced Web Design http://dabrook.org/
  • 6. What’s a Libary? • Library of code • Writes out common code • Solves difficult problems 09 - jQuery Advanced Web Design http://dabrook.org/
  • 7. What’s a Libary? • Library of code • Writes out common code • Solves difficult problems • Makes complex easier 09 - jQuery Advanced Web Design http://dabrook.org/
  • 8. JavaScript Libraries 09 - jQuery Advanced Web Design http://dabrook.org/
  • 9. How to Add jQuery 09 - jQuery Advanced Web Design http://dabrook.org/
  • 10. How to Add jQuery 1. Locally 09 - jQuery Advanced Web Design http://dabrook.org/
  • 11. How to Add jQuery 1. Locally 2. jQuery 09 - jQuery Advanced Web Design http://dabrook.org/
  • 12. How to Add jQuery 1. Locally 2. jQuery 3. Other Content Delivery Networks (CDN) 09 - jQuery Advanced Web Design http://dabrook.org/
  • 13. Mini Lab • Create a new document: how-to-add-jquery.html • Function to test if jQuery is running • Try adding jQuery from jQuery • Try adding jQuery locally 09 - jQuery Advanced Web Design http://dabrook.org/
  • 14. jQuery API • AJAX • Date •Events • Selectors • Attributes • Dimensions • Forms • Traversing •CSS •Effects • Manipulations • Utilities 09 - jQuery Advanced Web Design http://dabrook.org/
  • 15. Mini Lab • Create a new document: jquery-api-practice.html • Practice using the following from the jQuery API: • Selectors • Effects • CSS • Events 09 - jQuery Advanced Web Design http://dabrook.org/
  • 16. jQuery Plugins 09 - jQuery Advanced Web Design http://dabrook.org/
  • 17. jQuery Plugins • Built with/on jQuery 09 - jQuery Advanced Web Design http://dabrook.org/
  • 18. jQuery Plugins • Built with/on jQuery • Link to Plugin js file 09 - jQuery Advanced Web Design http://dabrook.org/
  • 19. jQuery Plugins • Built with/on jQuery • Link to Plugin js file • Solve specific solution 09 - jQuery Advanced Web Design http://dabrook.org/
  • 20. jQuery Plugins • Built with/on jQuery • Link to Plugin js file • Solve specific solution • Use jQuery syntax 09 - jQuery Advanced Web Design http://dabrook.org/
  • 21. jQuery Plugins • Built with/on jQuery • Link to Plugin js file • Solve specific solution • Use jQuery syntax • Range of ease of use 09 - jQuery Advanced Web Design http://dabrook.org/
  • 22. jQuery Plugins • Built with/on jQuery • Link to Plugin js file • Solve specific solution • Use jQuery syntax • Range of ease of use • Examples 09 - jQuery Advanced Web Design http://dabrook.org/
  • 23. Lab • Create a new document: form-validation-js.html • Add HTML and CSS for a basic page contact form • Link to the validation plugin 09 - jQuery Advanced Web Design http://dabrook.org/
  • 24. Homework Add jQuery form validation to your web site as well as one other jQuery behavior (or plugin) of your choice.  Make sure that it works properly and you can explain why you chose that behavior. Upload to: username.welovewebdesign.com/hw/09/ 09 - jQuery Advanced Web Design http://dabrook.org/

Notes de l'éditeur

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n