SlideShare une entreprise Scribd logo
1  sur  39
Agenda
32 41 5
Basics
Install jQuery
jQuery Methods jQuery Effects
jQuery Events
6
jQuery UI
Let’s Cover Basics First!
What is JavaScript?
Web pages more interactive
Interpreted language
Interpreter
Runs on the client’s computer
JavaScript is a scripting language that allows you to implement complex things on web
pages.
Why Use jQuery?
Cross
browser
DOM
manipulation
AJAX support
Large
community
• Easy to manipulate DOM
• Massive community
• Cross browser support
• 1000s of plugins
jQuery Features
What Is jQuery?
jQuery is a fast and concise JavaScript Library created by John Resig in 2006
Event Handling
Simplifies JavaScript Lightweight
Animations
Install jQuery
Getting Started With jQuery!
Link to a CDNLocal Installation
Two ways to Install jQuery
The Document Object Model (DOM)
Document
HTML
Head
Title
jQuery Tutorial
Body
h1
p
jQuery basics
By Edureka
<!DOCTYPE html>
<html>
<head>
<title>jQuery Tutorial</title>
</head>
<body>
<h1>jQuery Basics</h1>
<p>By Edureka</p>
</body>
</html>
jQuery Selectors
jQuery selectors allow you to select and manipulate HTML element(s)
Syntax:
1 $(selector).action( )
• $ - selects and accesses a query
• html_element – denotes the html element that
needs to be manipulated
• action( ) - denotes a jQuery action to be performed
on the html element
Keywords :
• $ - selects and accesses a query
• selector– denotes the html element that needs to be
manipulated
• action( ) - denotes a jQuery action to be performed
on the html element
Keywords :
jQuery Methods
jQuery Methods – before( )
Syntax:
1 $(selector).before(content);
The jQuery before( ) method inserts the specified content before the selected elements.
• content - specifies the content to insert. Possible
values are html elements, objects and Dom elements
jQuery Methods – after( )
Syntax:
1 $(selector).after(content);
The jQuery after( ) method inserts the specified content after the selected elements.
• content - specifies the content to insert. Possible
values are html elements, objects and Dom elements
jQuery Methods – text( )
The jQuery text( ) method is used to set or return the text content of the selected elements.
• Return content - it returns the combined text content
of all matched elements without the HTML markup
• Set content - it overwrites the content of all matched
elements
Syntax:
1 $(selector).text( )
2 $(selector).text(content)
jQuery Methods – html( )
The jQuery html( ) method is used to set or return the html content of the selected elements.
• Return content - it returns the content of the first
matched element
• Set content - it overwrites the content of all matched
elements
Syntax:
1 $(selector).html( )
2 $(selector).html(content)
jQuery Methods – css( )
The jQuery css( ) method sets or returns one or more style properties for the selected elements.
• Return content - it returns the content of the first
matched element
• Set content - it overwrites the content of all matched
elements
Syntax:
1 $(selector).css(propertyname);
2 $(selector).css(propertyname, value);
jQuery Methods – attr( )
The jQuery attr( ) method is used to set or return attributes values of the selected elements.
• Return content - it returns the value of the first
matched element
• Set content – it sets one or more attribute/value pairs
of the set of matched elements
Syntax:
1 $(selector).attr(attribute)
2 $(selector).attr(attribute, value)
jQuery Methods – val( )
The jQuery val( ) method is used to set or return values of the selected elements.
• Return content - it returns the current value of the
first matched element
• Set content – it sets the value of the matched element
Syntax:
1 $(selector).val( )
2 $(selector).val(value)
jQuery Methods – addClass( )
Syntax:
1 $(selector).addClass(classname)
The jQuery addClass( ) method adds one or more class to the selected element.
• classname - specifies one or more class names which
you want to add
jQuery Methods – removeClass( )
Syntax:
1 $(selector).removeClass(classname)
The jQuery removeclass( ) method removes one or more class to the selected element
• classname - specifies one or more class names which
you want to add
jQuery Methods – toggleClass( )
Syntax:
1 $(selector).toggleClass(classname)
The jQuery toggleClass() method toggles between adding and removing one or more class to the
selected element.
• classname - specifies one or more class names which
you want to add
jQuery Events
jQuery Events – click( )
The jQuery click( ) event is executed when the user clicks on the HTML element.
Syntax:
1 $(selector).click(function)
• When you click on an element, the click event occurs
• After the click event occurs it execute the click
(function)
jQuery Events – on( )
The jQuery on( ) method attaches one or more event handlers for the selected elements.
Syntax:
1 $(selector).on(event, function)
• on( ) binds an event handler to dynamically added
elements
• Similarly off( ) removes event handlers that were
attached with on( )
jQuery Events – keypress( )
The jQuery keypress ( ) event is executed when a character is entered.
Syntax:
1 $(selector).keypress(function)
• keydown( ) - Event fired when a key is pressed on the
keyboard
• keyup( ) - Event fired when a key is released on the
keyboard
jQuery Effects
jQuery Effects – hide( )
The jQuery hide ( ) effect is used to hide a selected element.
Syntax:
1 $(selector).hide(speed, callback);
• speed - specifies the speed of the delay. Possible
values are slow, fast and milliseconds
• callback - specifies the function to be called after
completion of hide( ) effect
jQuery Effects – show( )
The jQuery show( ) effect is used to show a selected element.
Syntax:
1 $(selector).show(speed, callback);
• speed - specifies the speed of the delay. Possible
values are slow, fast and milliseconds
• callback - specifies the function to be called after
completion of show( ) effect
jQuery Effects – toggle( )
The jQuery toggle( ) effect is used to toggle between the hide( ) and show( ) effects.
Syntax:
1 $(selector).toggle(speed, callback);
• speed - specifies the speed of the delay. Possible
values are slow, fast and milliseconds
• callback - specifies the function to be called after
completion of toggle( ) effect
jQuery Effects – fadeOut( )
The jQuery fadeOut ( ) effect is used to fade out a selected element.
Syntax:
1 $(selector).fadeOut(speed, callback);
• speed - specifies the speed of the delay. Possible
values are slow, fast and milliseconds
• callback - specifies the function to be called after
completion of fadeOut() effect
jQuery Effects – fadeIn( )
The jQuery fadeIn ( ) effect is used to fade in a selected element.
Syntax:
1 $(selector).fadeIn(speed, callback);
• speed - specifies the speed of the delay. Possible
values are slow, fast and milliseconds
• callback - specifies the function to be called after
completion of fadeIn() effect
jQuery Effects – fadeToggle( )
The jQuery fadeToggle ( ) effect toggles between the fadeIn() and fadeOut() methods.
Syntax:
1 $(selector).fadeToggle(speed, callback);
• speed - specifies the speed of the delay. Possible
values are slow, fast and milliseconds
• callback - specifies the function to be called after
completion of fadeIn() effect
jQuery Effects – slideDown( )
The jQuery slideDown ( ) effect is used to slide down a selected element.
Syntax:
1 $(selector).slideDown(speed, callback);
• speed - specifies the speed of the delay. Possible
values are slow, fast and milliseconds
• callback - specifies the function to be called after
completion of slideDown( ) effect
jQuery Effects – slideUp( )
The jQuery slideUp ( ) effect is used to slide up a selected element.
Syntax:
1 $(selector).slideUp(speed, callback);
• speed - specifies the speed of the delay. Possible
values are slow, fast and milliseconds
• callback - specifies the function to be called after
completion of slideUp( ) effect
jQuery Effects – slideToggle( )
The jQuery slideToggle ( ) effect toggles between the slideUp( ) and slideDown( ) methods.
Syntax:
1 $(selector).slideToggle(speed, callback);
• speed - specifies the speed of the delay. Possible
values are slow, fast and milliseconds
• callback - specifies the function to be called after
completion of slideToggle( ) effect
jQuery UI
jQuery UI - draggable( ) & droppable( )
• The jQuery UI draggable( ) method makes any DOM element
draggable after which you can drag it anywhere within the
html page
Syntax:
1 $(selector).draggable( );
• The jQuery UI droppable( ) method is used to make any DOM
element droppable at a specified target
Syntax:
1 $(selector).droppable( );
jQuery UI - DatePicker
jQuery UI datepicker widget facilitates users to enter dates easily and visually.
Syntax:
1 $(selector).datepicker( );
WebDriver vs. IDE vs. RC
➢ Data Warehouse is like a relational database designed for analytical needs.
➢ It functions on the basis of OLAP (Online Analytical Processing).
➢ It is a central location where consolidated data from multiple locations (databases) are stored.

Contenu connexe

Tendances (20)

3. Java Script
3. Java Script3. Java Script
3. Java Script
 
JavaScript - Chapter 12 - Document Object Model
  JavaScript - Chapter 12 - Document Object Model  JavaScript - Chapter 12 - Document Object Model
JavaScript - Chapter 12 - Document Object Model
 
Document Object Model (DOM)
Document Object Model (DOM)Document Object Model (DOM)
Document Object Model (DOM)
 
Javascript basics
Javascript basicsJavascript basics
Javascript basics
 
JavaScript: Events Handling
JavaScript: Events HandlingJavaScript: Events Handling
JavaScript: Events Handling
 
Dom(document object model)
Dom(document object model)Dom(document object model)
Dom(document object model)
 
Ajax and Jquery
Ajax and JqueryAjax and Jquery
Ajax and Jquery
 
Php with MYSQL Database
Php with MYSQL DatabasePhp with MYSQL Database
Php with MYSQL Database
 
Java script
Java scriptJava script
Java script
 
javascript objects
javascript objectsjavascript objects
javascript objects
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
Basics of JavaScript
Basics of JavaScriptBasics of JavaScript
Basics of JavaScript
 
JavaScript - Chapter 8 - Objects
 JavaScript - Chapter 8 - Objects JavaScript - Chapter 8 - Objects
JavaScript - Chapter 8 - Objects
 
Ajax ppt - 32 slides
Ajax ppt - 32 slidesAjax ppt - 32 slides
Ajax ppt - 32 slides
 
Functions in javascript
Functions in javascriptFunctions in javascript
Functions in javascript
 
Java Script ppt
Java Script pptJava Script ppt
Java Script ppt
 
Javascript
JavascriptJavascript
Javascript
 
jQuery
jQueryjQuery
jQuery
 
Javascript event handler
Javascript event handlerJavascript event handler
Javascript event handler
 
javaScript.ppt
javaScript.pptjavaScript.ppt
javaScript.ppt
 

Similaire à jQuery Tutorial For Beginners | Developing User Interface (UI) Using jQuery | Edureka

Unit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdf
Unit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdfUnit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdf
Unit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdfRAVALCHIRAG1
 
Web technologies-course 11.pptx
Web technologies-course 11.pptxWeb technologies-course 11.pptx
Web technologies-course 11.pptxStefan Oprea
 
presentation_jquery_ppt.pptx
presentation_jquery_ppt.pptxpresentation_jquery_ppt.pptx
presentation_jquery_ppt.pptxazz71
 
JQuery_and_Ajax.pptx
JQuery_and_Ajax.pptxJQuery_and_Ajax.pptx
JQuery_and_Ajax.pptxAditiPawale1
 
jQuery - Chapter 3 - Effects
jQuery - Chapter 3 - Effects  jQuery - Chapter 3 - Effects
jQuery - Chapter 3 - Effects WebStackAcademy
 
Getting Started with jQuery
Getting Started with jQueryGetting Started with jQuery
Getting Started with jQueryLaila Buncab
 
jQuery basics for Beginners
jQuery basics for BeginnersjQuery basics for Beginners
jQuery basics for BeginnersPooja Saxena
 
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD CombinationLotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD CombinationSean Burgess
 
Introduction to jQuery
Introduction to jQueryIntroduction to jQuery
Introduction to jQuerySeble Nigussie
 
How to increase Performance of Web Application using JQuery
How to increase Performance of Web Application using JQueryHow to increase Performance of Web Application using JQuery
How to increase Performance of Web Application using JQuerykolkatageeks
 
Jquery Complete Presentation along with Javascript Basics
Jquery Complete Presentation along with Javascript BasicsJquery Complete Presentation along with Javascript Basics
Jquery Complete Presentation along with Javascript BasicsEPAM Systems
 
J query presentation
J query presentationJ query presentation
J query presentationakanksha17
 
J query presentation
J query presentationJ query presentation
J query presentationsawarkar17
 

Similaire à jQuery Tutorial For Beginners | Developing User Interface (UI) Using jQuery | Edureka (20)

Unit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdf
Unit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdfUnit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdf
Unit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdf
 
Web technologies-course 11.pptx
Web technologies-course 11.pptxWeb technologies-course 11.pptx
Web technologies-course 11.pptx
 
Jquery library
Jquery libraryJquery library
Jquery library
 
presentation_jquery_ppt.pptx
presentation_jquery_ppt.pptxpresentation_jquery_ppt.pptx
presentation_jquery_ppt.pptx
 
J Query Presentation of David
J Query Presentation of DavidJ Query Presentation of David
J Query Presentation of David
 
JQuery_and_Ajax.pptx
JQuery_and_Ajax.pptxJQuery_and_Ajax.pptx
JQuery_and_Ajax.pptx
 
jQuery - Chapter 3 - Effects
jQuery - Chapter 3 - Effects  jQuery - Chapter 3 - Effects
jQuery - Chapter 3 - Effects
 
Getting Started with jQuery
Getting Started with jQueryGetting Started with jQuery
Getting Started with jQuery
 
J query module1
J query module1J query module1
J query module1
 
jQuery basics for Beginners
jQuery basics for BeginnersjQuery basics for Beginners
jQuery basics for Beginners
 
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD CombinationLotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
 
Introduction to Jquery
Introduction to JqueryIntroduction to Jquery
Introduction to Jquery
 
J query
J queryJ query
J query
 
Introduction to jQuery
Introduction to jQueryIntroduction to jQuery
Introduction to jQuery
 
How to increase Performance of Web Application using JQuery
How to increase Performance of Web Application using JQueryHow to increase Performance of Web Application using JQuery
How to increase Performance of Web Application using JQuery
 
Jquery Complete Presentation along with Javascript Basics
Jquery Complete Presentation along with Javascript BasicsJquery Complete Presentation along with Javascript Basics
Jquery Complete Presentation along with Javascript Basics
 
JQuery
JQueryJQuery
JQuery
 
JQuery
JQueryJQuery
JQuery
 
J query presentation
J query presentationJ query presentation
J query presentation
 
J query presentation
J query presentationJ query presentation
J query presentation
 

Plus de Edureka!

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaEdureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaEdureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaEdureka!
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaEdureka!
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaEdureka!
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaEdureka!
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaEdureka!
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaEdureka!
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaEdureka!
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaEdureka!
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | EdurekaEdureka!
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEdureka!
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEdureka!
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaEdureka!
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaEdureka!
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaEdureka!
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaEdureka!
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaEdureka!
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | EdurekaEdureka!
 

Plus de Edureka! (20)

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
 

Dernier

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 

Dernier (20)

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 

jQuery Tutorial For Beginners | Developing User Interface (UI) Using jQuery | Edureka

  • 1.
  • 2. Agenda 32 41 5 Basics Install jQuery jQuery Methods jQuery Effects jQuery Events 6 jQuery UI
  • 4. What is JavaScript? Web pages more interactive Interpreted language Interpreter Runs on the client’s computer JavaScript is a scripting language that allows you to implement complex things on web pages.
  • 5. Why Use jQuery? Cross browser DOM manipulation AJAX support Large community • Easy to manipulate DOM • Massive community • Cross browser support • 1000s of plugins jQuery Features
  • 6. What Is jQuery? jQuery is a fast and concise JavaScript Library created by John Resig in 2006 Event Handling Simplifies JavaScript Lightweight Animations
  • 8. Getting Started With jQuery! Link to a CDNLocal Installation Two ways to Install jQuery
  • 9. The Document Object Model (DOM) Document HTML Head Title jQuery Tutorial Body h1 p jQuery basics By Edureka <!DOCTYPE html> <html> <head> <title>jQuery Tutorial</title> </head> <body> <h1>jQuery Basics</h1> <p>By Edureka</p> </body> </html>
  • 10. jQuery Selectors jQuery selectors allow you to select and manipulate HTML element(s) Syntax: 1 $(selector).action( ) • $ - selects and accesses a query • html_element – denotes the html element that needs to be manipulated • action( ) - denotes a jQuery action to be performed on the html element Keywords : • $ - selects and accesses a query • selector– denotes the html element that needs to be manipulated • action( ) - denotes a jQuery action to be performed on the html element Keywords :
  • 12. jQuery Methods – before( ) Syntax: 1 $(selector).before(content); The jQuery before( ) method inserts the specified content before the selected elements. • content - specifies the content to insert. Possible values are html elements, objects and Dom elements
  • 13. jQuery Methods – after( ) Syntax: 1 $(selector).after(content); The jQuery after( ) method inserts the specified content after the selected elements. • content - specifies the content to insert. Possible values are html elements, objects and Dom elements
  • 14. jQuery Methods – text( ) The jQuery text( ) method is used to set or return the text content of the selected elements. • Return content - it returns the combined text content of all matched elements without the HTML markup • Set content - it overwrites the content of all matched elements Syntax: 1 $(selector).text( ) 2 $(selector).text(content)
  • 15. jQuery Methods – html( ) The jQuery html( ) method is used to set or return the html content of the selected elements. • Return content - it returns the content of the first matched element • Set content - it overwrites the content of all matched elements Syntax: 1 $(selector).html( ) 2 $(selector).html(content)
  • 16. jQuery Methods – css( ) The jQuery css( ) method sets or returns one or more style properties for the selected elements. • Return content - it returns the content of the first matched element • Set content - it overwrites the content of all matched elements Syntax: 1 $(selector).css(propertyname); 2 $(selector).css(propertyname, value);
  • 17. jQuery Methods – attr( ) The jQuery attr( ) method is used to set or return attributes values of the selected elements. • Return content - it returns the value of the first matched element • Set content – it sets one or more attribute/value pairs of the set of matched elements Syntax: 1 $(selector).attr(attribute) 2 $(selector).attr(attribute, value)
  • 18. jQuery Methods – val( ) The jQuery val( ) method is used to set or return values of the selected elements. • Return content - it returns the current value of the first matched element • Set content – it sets the value of the matched element Syntax: 1 $(selector).val( ) 2 $(selector).val(value)
  • 19. jQuery Methods – addClass( ) Syntax: 1 $(selector).addClass(classname) The jQuery addClass( ) method adds one or more class to the selected element. • classname - specifies one or more class names which you want to add
  • 20. jQuery Methods – removeClass( ) Syntax: 1 $(selector).removeClass(classname) The jQuery removeclass( ) method removes one or more class to the selected element • classname - specifies one or more class names which you want to add
  • 21. jQuery Methods – toggleClass( ) Syntax: 1 $(selector).toggleClass(classname) The jQuery toggleClass() method toggles between adding and removing one or more class to the selected element. • classname - specifies one or more class names which you want to add
  • 23. jQuery Events – click( ) The jQuery click( ) event is executed when the user clicks on the HTML element. Syntax: 1 $(selector).click(function) • When you click on an element, the click event occurs • After the click event occurs it execute the click (function)
  • 24. jQuery Events – on( ) The jQuery on( ) method attaches one or more event handlers for the selected elements. Syntax: 1 $(selector).on(event, function) • on( ) binds an event handler to dynamically added elements • Similarly off( ) removes event handlers that were attached with on( )
  • 25. jQuery Events – keypress( ) The jQuery keypress ( ) event is executed when a character is entered. Syntax: 1 $(selector).keypress(function) • keydown( ) - Event fired when a key is pressed on the keyboard • keyup( ) - Event fired when a key is released on the keyboard
  • 27. jQuery Effects – hide( ) The jQuery hide ( ) effect is used to hide a selected element. Syntax: 1 $(selector).hide(speed, callback); • speed - specifies the speed of the delay. Possible values are slow, fast and milliseconds • callback - specifies the function to be called after completion of hide( ) effect
  • 28. jQuery Effects – show( ) The jQuery show( ) effect is used to show a selected element. Syntax: 1 $(selector).show(speed, callback); • speed - specifies the speed of the delay. Possible values are slow, fast and milliseconds • callback - specifies the function to be called after completion of show( ) effect
  • 29. jQuery Effects – toggle( ) The jQuery toggle( ) effect is used to toggle between the hide( ) and show( ) effects. Syntax: 1 $(selector).toggle(speed, callback); • speed - specifies the speed of the delay. Possible values are slow, fast and milliseconds • callback - specifies the function to be called after completion of toggle( ) effect
  • 30. jQuery Effects – fadeOut( ) The jQuery fadeOut ( ) effect is used to fade out a selected element. Syntax: 1 $(selector).fadeOut(speed, callback); • speed - specifies the speed of the delay. Possible values are slow, fast and milliseconds • callback - specifies the function to be called after completion of fadeOut() effect
  • 31. jQuery Effects – fadeIn( ) The jQuery fadeIn ( ) effect is used to fade in a selected element. Syntax: 1 $(selector).fadeIn(speed, callback); • speed - specifies the speed of the delay. Possible values are slow, fast and milliseconds • callback - specifies the function to be called after completion of fadeIn() effect
  • 32. jQuery Effects – fadeToggle( ) The jQuery fadeToggle ( ) effect toggles between the fadeIn() and fadeOut() methods. Syntax: 1 $(selector).fadeToggle(speed, callback); • speed - specifies the speed of the delay. Possible values are slow, fast and milliseconds • callback - specifies the function to be called after completion of fadeIn() effect
  • 33. jQuery Effects – slideDown( ) The jQuery slideDown ( ) effect is used to slide down a selected element. Syntax: 1 $(selector).slideDown(speed, callback); • speed - specifies the speed of the delay. Possible values are slow, fast and milliseconds • callback - specifies the function to be called after completion of slideDown( ) effect
  • 34. jQuery Effects – slideUp( ) The jQuery slideUp ( ) effect is used to slide up a selected element. Syntax: 1 $(selector).slideUp(speed, callback); • speed - specifies the speed of the delay. Possible values are slow, fast and milliseconds • callback - specifies the function to be called after completion of slideUp( ) effect
  • 35. jQuery Effects – slideToggle( ) The jQuery slideToggle ( ) effect toggles between the slideUp( ) and slideDown( ) methods. Syntax: 1 $(selector).slideToggle(speed, callback); • speed - specifies the speed of the delay. Possible values are slow, fast and milliseconds • callback - specifies the function to be called after completion of slideToggle( ) effect
  • 37. jQuery UI - draggable( ) & droppable( ) • The jQuery UI draggable( ) method makes any DOM element draggable after which you can drag it anywhere within the html page Syntax: 1 $(selector).draggable( ); • The jQuery UI droppable( ) method is used to make any DOM element droppable at a specified target Syntax: 1 $(selector).droppable( );
  • 38. jQuery UI - DatePicker jQuery UI datepicker widget facilitates users to enter dates easily and visually. Syntax: 1 $(selector).datepicker( );
  • 39. WebDriver vs. IDE vs. RC ➢ Data Warehouse is like a relational database designed for analytical needs. ➢ It functions on the basis of OLAP (Online Analytical Processing). ➢ It is a central location where consolidated data from multiple locations (databases) are stored.