SlideShare a Scribd company logo
jQuery Tutorial For Beginners | Developing User Interface (UI) Using jQuery | Edureka
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.

More Related Content

What's hot (20)

PDF
Javascript and DOM
Brian Moschel
 
PPTX
Lab #2: Introduction to Javascript
Walid Ashraf
 
PPTX
Event In JavaScript
ShahDhruv21
 
PPTX
Javascript functions
Alaref Abushaala
 
PDF
Asynchronous JavaScript Programming
Haim Michael
 
PPT
PHP - Introduction to Object Oriented Programming with PHP
Vibrant Technologies & Computers
 
PPTX
jQuery from the very beginning
Anis Ahmad
 
PPTX
Html5 and-css3-overview
Jacob Nelson
 
PPT
Javascript arrays
Hassan Dar
 
PDF
ReactJS presentation
Thanh Tuong
 
PPT
JavaScript & Dom Manipulation
Mohammed Arif
 
PDF
JavaScript - Chapter 3 - Introduction
WebStackAcademy
 
PPTX
Intro to React
Justin Reock
 
PPT
Java Script ppt
Priya Goyal
 
PPT
Hibernate architecture
Anurag
 
PPT
Control Structures In Php 2
Digital Insights - Digital Marketing Agency
 
PDF
JavaScript guide 2020 Learn JavaScript
Laurence Svekis ✔
 
PPT
Cookies and sessions
Lena Petsenchuk
 
ODP
Introduction to jQuery
manugoel2003
 
Javascript and DOM
Brian Moschel
 
Lab #2: Introduction to Javascript
Walid Ashraf
 
Event In JavaScript
ShahDhruv21
 
Javascript functions
Alaref Abushaala
 
Asynchronous JavaScript Programming
Haim Michael
 
PHP - Introduction to Object Oriented Programming with PHP
Vibrant Technologies & Computers
 
jQuery from the very beginning
Anis Ahmad
 
Html5 and-css3-overview
Jacob Nelson
 
Javascript arrays
Hassan Dar
 
ReactJS presentation
Thanh Tuong
 
JavaScript & Dom Manipulation
Mohammed Arif
 
JavaScript - Chapter 3 - Introduction
WebStackAcademy
 
Intro to React
Justin Reock
 
Java Script ppt
Priya Goyal
 
Hibernate architecture
Anurag
 
Control Structures In Php 2
Digital Insights - Digital Marketing Agency
 
JavaScript guide 2020 Learn JavaScript
Laurence Svekis ✔
 
Cookies and sessions
Lena Petsenchuk
 
Introduction to jQuery
manugoel2003
 

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

PDF
Introduction to jQuery
Seble Nigussie
 
PPTX
Unit-III_JQuery.pptx engineering subject for third year students
MARasheed3
 
PDF
Unit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdf
RAVALCHIRAG1
 
PDF
jQuery Effects
Adelon Zeta
 
PPTX
presentation_jquery_ppt.pptx
azz71
 
PPTX
Web technologies-course 11.pptx
Stefan Oprea
 
PPTX
JQuery_and_Ajax.pptx
AditiPawale1
 
PDF
Adv WTAdvanced Web Tech_unit 2_Adv WT.pdf
GauravDwivedi695361
 
PPT
J query
Manav Prasad
 
PPT
J query presentation
sawarkar17
 
PPT
J query presentation
akanksha17
 
PPTX
jQuery
Jon Erickson
 
PPTX
Getting Started with jQuery
Laila Buncab
 
PPTX
jQuery besic
Syeful Islam
 
PPTX
A to Z about JQuery - Become Newbie to Expert Java Developer
Manoj Bhuva
 
PPTX
Web Development Course - JQuery by RSOLUTIONS
RSolutions
 
PDF
Jquery tutorial-beginners
Isfand yar Khan
 
PPTX
Getting started with jQuery
Gill Cleeren
 
PPTX
J query
Ramakrishna kapa
 
Introduction to jQuery
Seble Nigussie
 
Unit-III_JQuery.pptx engineering subject for third year students
MARasheed3
 
Unit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdf
RAVALCHIRAG1
 
jQuery Effects
Adelon Zeta
 
presentation_jquery_ppt.pptx
azz71
 
Web technologies-course 11.pptx
Stefan Oprea
 
JQuery_and_Ajax.pptx
AditiPawale1
 
Adv WTAdvanced Web Tech_unit 2_Adv WT.pdf
GauravDwivedi695361
 
J query
Manav Prasad
 
J query presentation
sawarkar17
 
J query presentation
akanksha17
 
jQuery
Jon Erickson
 
Getting Started with jQuery
Laila Buncab
 
jQuery besic
Syeful Islam
 
A to Z about JQuery - Become Newbie to Expert Java Developer
Manoj Bhuva
 
Web Development Course - JQuery by RSOLUTIONS
RSolutions
 
Jquery tutorial-beginners
Isfand yar Khan
 
Getting started with jQuery
Gill Cleeren
 
Ad

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
PDF
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
PDF
Tableau Tutorial for Data Science | Edureka
Edureka!
 
PDF
Python Programming Tutorial | Edureka
Edureka!
 
PDF
Top 5 PMP Certifications | Edureka
Edureka!
 
PDF
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
PDF
Linux Mint Tutorial | Edureka
Edureka!
 
PDF
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
PDF
Importance of Digital Marketing | Edureka
Edureka!
 
PDF
RPA in 2020 | Edureka
Edureka!
 
PDF
Email Notifications in Jenkins | Edureka
Edureka!
 
PDF
EA Algorithm in Machine Learning | Edureka
Edureka!
 
PDF
Cognitive AI Tutorial | Edureka
Edureka!
 
PDF
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
PDF
Blue Prism Top Interview Questions | Edureka
Edureka!
 
PDF
Big Data on AWS Tutorial | Edureka
Edureka!
 
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
PDF
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
PDF
Introduction to DevOps | Edureka
Edureka!
 
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
Tableau Tutorial for Data Science | Edureka
Edureka!
 
Python Programming Tutorial | Edureka
Edureka!
 
Top 5 PMP Certifications | Edureka
Edureka!
 
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
Linux Mint Tutorial | Edureka
Edureka!
 
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
Importance of Digital Marketing | Edureka
Edureka!
 
RPA in 2020 | Edureka
Edureka!
 
Email Notifications in Jenkins | Edureka
Edureka!
 
EA Algorithm in Machine Learning | Edureka
Edureka!
 
Cognitive AI Tutorial | Edureka
Edureka!
 
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
Blue Prism Top Interview Questions | Edureka
Edureka!
 
Big Data on AWS Tutorial | Edureka
Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
Introduction to DevOps | Edureka
Edureka!
 
Ad

Recently uploaded (20)

PPTX
Manual Testing for Accessibility Enhancement
Julia Undeutsch
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
NASA A Researcher’s Guide to International Space Station : Earth Observations
Dr. PANKAJ DHUSSA
 
PDF
Linux schedulers for fun and profit with SchedKit
Alessio Biancalana
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
PDF
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
PDF
Modern Decentralized Application Architectures.pdf
Kalema Edgar
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PPTX
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
PDF
[GDGoC FPTU] Spring 2025 Summary Slidess
minhtrietgect
 
Manual Testing for Accessibility Enhancement
Julia Undeutsch
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
NASA A Researcher’s Guide to International Space Station : Earth Observations
Dr. PANKAJ DHUSSA
 
Linux schedulers for fun and profit with SchedKit
Alessio Biancalana
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
Modern Decentralized Application Architectures.pdf
Kalema Edgar
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
[GDGoC FPTU] Spring 2025 Summary Slidess
minhtrietgect
 

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

  • 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.