SlideShare a Scribd company logo
Jquery
AbdulRaouf N
Arn.raouf@gmail.com
www.facebook.com/AbdulRaouf
twitter.com/AbdulRaouf
in.linkedin.com/in/AbdulRaouf
Typingspeed:28wpm
JQUERY
Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
What is jQuery?
 jQuery is not a language, but it is a well written JavaScript
code.
JavaScript Library
jQuery is a lightweight, "write less, do more", JavaScript library.
The purpose of jQuery is to make it much easier to use
JavaScript on your website
jQuery takes a lot of common tasks that require many lines of
JavaScript code to accomplish, and wraps them into methods
that you can call with a single line of code.
Download the jQuery Library
Download a package from jQuery.com and then install a library
of scripts on your server.
There are two versions of jQuery available for downloading
Production version
Development version
How jQuery Works ?
The jQuery syntax is used to select HTML elements and perform
some action on those element(s).
Basic syntax: $(selector).action()
A dollar sign to define jQuery
A (selector) to find HTML elements
An action() to be performed on the element(s)
Syntax Description
$(this) Current HTML element
$("p") All <p> elements
$("p.intro") All <p> elements with class="intro"
$(".intro") All elements with class="intro"
$("#intro") The first element with id="intro"
$("ul li:first") The first <li> element of each <ul>
jQuery Selectors
Event Method Description
$(selector).click(function)
Invokes a function when the selected elements
are clicked
$(selector).dblclick(function)
Invokes a function when the selected elements
are double-clicked
$(selector).focus(function)
Invokes a function when the selected elements
receive the focus
$(selector).mouseover(function)
Invokes a function when the mouse is over the
selected elements
$(selector).keypress(function)
Invokes a function when a key is pressed inside
the selected elements
jQuery Events
Function Description
$(selector).hide() Hide selected elements
$(selector).show() Show selected elements
$(selector).toggle()
Toggle (between hide and show) selected
elements
$(selector).slideDown() Slide-down (show) selected elements
$(selector).slideUp() Slide-up (hide) selected elements
$(selector).slideToggle()
Toggle slide-up and slide-down of selected
elements
$(selector).fadeIn() Fade in selected elements
$(selector).fadeOut() Fade out selected elements
$(selector).fadeTo() Fade out selected elements to a given opacity
$(selector).fadeToggle() Toggle between fade in and fade out
jQuery Effects
Example
<!DOCTYPE html>
<html><head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("p").click(function(){
$(this).hide();
});
});
</script></head>
<body>
<p>If you click on me, I will disappear.</p>
</body>
</html>
Advantages
Lightweight and fast
Open source library
Easy to learn and flexible
THANK YOU...
Want to learn more about programming or Looking to become a good programmer?
Are you wasting time on searching so many contents online?
Do you want to learn things quickly?
Tired of spending huge amount of money to become a Software professional?
Do an online course
@ baabtra.com
We put industry standards to practice. Our structured, activity based courses are so designed
to make a quick, good software professional out of anybody who holds a passion for coding.
Follow us @ twitter.com/baabtra
Like us @ facebook.com/baabtra
Subscribe to us @ youtube.com/baabtra
Become a follower @ slideshare.net/BaabtraMentoringPartner
Connect to us @ in.linkedin.com/in/baabtra
Thanks in advance.
www.baabtra.com | www.massbaab.com |www.baabte.com
Contact Us
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Cafit Square,
Hilite Business Park,
Near Pantheerankavu,
Kozhikode
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com

More Related Content

PPTX
PPTX
JavaScript and jQuery Basics
PPTX
How to increase Performance of Web Application using JQuery
PPTX
Jquery Complete Presentation along with Javascript Basics
PPTX
JQuery
DOCX
Built in filters
PDF
JQuery plugin development fundamentals
JavaScript and jQuery Basics
How to increase Performance of Web Application using JQuery
Jquery Complete Presentation along with Javascript Basics
JQuery
Built in filters
JQuery plugin development fundamentals

What's hot (19)

PDF
J queryui
PPTX
jQuery Presentation
PPT
PPTX
DOCX
Filters in AngularJS
PPTX
Getting the Most Out of jQuery Widgets
PPTX
jQuery Best Practice
PPTX
AngularJS Introduction
DOCX
Controller in AngularJS
PDF
jQuery Loves Developers - Oredev 2009
PDF
jQuery for beginners
PPT
JQuery introduction
PDF
Introducing jQuery
PPT
J Query(04 12 2008) Foiaz
PPTX
Javascript first-class citizenery
PPTX
jQuery PPT
PPTX
Unobtrusive javascript with jQuery
J queryui
jQuery Presentation
Filters in AngularJS
Getting the Most Out of jQuery Widgets
jQuery Best Practice
AngularJS Introduction
Controller in AngularJS
jQuery Loves Developers - Oredev 2009
jQuery for beginners
JQuery introduction
Introducing jQuery
J Query(04 12 2008) Foiaz
Javascript first-class citizenery
jQuery PPT
Unobtrusive javascript with jQuery
Ad

Viewers also liked (19)

PPTX
Baabtra.com little coder chapter - 4
PPTX
Baabtra.com little coder chapter - 6
PPTX
Baabtra.com little coder chapter - 3
PPTX
Hiring in startups - What you should know.
PPTX
Database and types of database
PPTX
PPTX
PPTX
PPTX
PPTX
Brain computer interface(neethu,bincy,sanooja)
DOCX
Ad

Similar to Jquery (20)

PPTX
jQuery
PPTX
JQUERY TUTORIALS
PPTX
jQuery besic
PPT
J query
PPT
Jquery PPT_Finalfgfgdfgdr5tryeujkhdwappt
PPTX
Getting Started with jQuery
PPT
J query presentation
PPT
J query presentation
PPSX
JQuery Comprehensive Overview
PPTX
PPTX
jQuery
PDF
Jquery tutorial-beginners

More from baabtra.com - No. 1 supplier of quality freshers (20)

PPTX
Agile methodology and scrum development
PDF
Acquiring new skills what you should know
PDF
Baabtra.com programming at school
PDF
99LMS for Enterprises - LMS that you will love
PPTX
Chapter 6 database normalisation
PPTX
Chapter 5 transactions and dcl statements
PPTX
Chapter 4 functions, views, indexing
PPTX
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
PPTX
Chapter 1 introduction to sql server
PPTX
Chapter 1 introduction to sql server
Agile methodology and scrum development
Acquiring new skills what you should know
Baabtra.com programming at school
99LMS for Enterprises - LMS that you will love
Chapter 6 database normalisation
Chapter 5 transactions and dcl statements
Chapter 4 functions, views, indexing
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
Chapter 1 introduction to sql server
Chapter 1 introduction to sql server

Recently uploaded (20)

PPTX
Tartificialntelligence_presentation.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Approach and Philosophy of On baking technology
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Getting Started with Data Integration: FME Form 101
PPTX
A Presentation on Artificial Intelligence
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
Teaching material agriculture food technology
PPTX
Big Data Technologies - Introduction.pptx
PDF
Machine learning based COVID-19 study performance prediction
PPTX
1. Introduction to Computer Programming.pptx
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Assigned Numbers - 2025 - Bluetooth® Document
Tartificialntelligence_presentation.pptx
cuic standard and advanced reporting.pdf
Approach and Philosophy of On baking technology
A comparative analysis of optical character recognition models for extracting...
Group 1 Presentation -Planning and Decision Making .pptx
Getting Started with Data Integration: FME Form 101
A Presentation on Artificial Intelligence
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Digital-Transformation-Roadmap-for-Companies.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Teaching material agriculture food technology
Big Data Technologies - Introduction.pptx
Machine learning based COVID-19 study performance prediction
1. Introduction to Computer Programming.pptx
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Per capita expenditure prediction using model stacking based on satellite ima...
Empathic Computing: Creating Shared Understanding
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
MYSQL Presentation for SQL database connectivity
Assigned Numbers - 2025 - Bluetooth® Document

Jquery

  • 3. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 4. What is jQuery?  jQuery is not a language, but it is a well written JavaScript code. JavaScript Library jQuery is a lightweight, "write less, do more", JavaScript library. The purpose of jQuery is to make it much easier to use JavaScript on your website jQuery takes a lot of common tasks that require many lines of JavaScript code to accomplish, and wraps them into methods that you can call with a single line of code.
  • 5. Download the jQuery Library Download a package from jQuery.com and then install a library of scripts on your server. There are two versions of jQuery available for downloading Production version Development version
  • 6. How jQuery Works ? The jQuery syntax is used to select HTML elements and perform some action on those element(s). Basic syntax: $(selector).action() A dollar sign to define jQuery A (selector) to find HTML elements An action() to be performed on the element(s)
  • 7. Syntax Description $(this) Current HTML element $("p") All <p> elements $("p.intro") All <p> elements with class="intro" $(".intro") All elements with class="intro" $("#intro") The first element with id="intro" $("ul li:first") The first <li> element of each <ul> jQuery Selectors
  • 8. Event Method Description $(selector).click(function) Invokes a function when the selected elements are clicked $(selector).dblclick(function) Invokes a function when the selected elements are double-clicked $(selector).focus(function) Invokes a function when the selected elements receive the focus $(selector).mouseover(function) Invokes a function when the mouse is over the selected elements $(selector).keypress(function) Invokes a function when a key is pressed inside the selected elements jQuery Events
  • 9. Function Description $(selector).hide() Hide selected elements $(selector).show() Show selected elements $(selector).toggle() Toggle (between hide and show) selected elements $(selector).slideDown() Slide-down (show) selected elements $(selector).slideUp() Slide-up (hide) selected elements $(selector).slideToggle() Toggle slide-up and slide-down of selected elements $(selector).fadeIn() Fade in selected elements $(selector).fadeOut() Fade out selected elements $(selector).fadeTo() Fade out selected elements to a given opacity $(selector).fadeToggle() Toggle between fade in and fade out jQuery Effects
  • 11. Advantages Lightweight and fast Open source library Easy to learn and flexible
  • 13. Want to learn more about programming or Looking to become a good programmer? Are you wasting time on searching so many contents online? Do you want to learn things quickly? Tired of spending huge amount of money to become a Software professional? Do an online course @ baabtra.com We put industry standards to practice. Our structured, activity based courses are so designed to make a quick, good software professional out of anybody who holds a passion for coding.
  • 14. Follow us @ twitter.com/baabtra Like us @ facebook.com/baabtra Subscribe to us @ youtube.com/baabtra Become a follower @ slideshare.net/BaabtraMentoringPartner Connect to us @ in.linkedin.com/in/baabtra Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  • 15. Contact Us Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Cafit Square, Hilite Business Park, Near Pantheerankavu, Kozhikode Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com