SlideShare a Scribd company logo
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
jQuery Validation
Atheendrh Kakkothh
atheendrh@gmail.com
www.facebook.com/atheend
rhkakkoth
twitter.com/username
in.linkedin.com/in/atheendr
h kakkoth
9633734876
Week Target Achieved
1 30 28
2
3
Typing Speed
What is jQuery?
• 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
• The jQuery library contains the following features:
 HTML/DOM manipulation
 CSS manipulation
 HTML event methods
 Effects and animations
 AJAX
Why jQuery?
• Cross-browser support (IE 6.0+, FF 1.5+, Safari
2.0+, Opera 9.0+)
• CSS-like syntax – easy for developers/non-
developers to understand
• Active developer community
JQuery
• Powerful JavaScript library
– Simplify common JavaScript tasks
– Access parts of a page
• using CSS or XPath-like expressions
– Modify the appearance of a page
– Alter the content of a page
– Change the user’s interaction with a page
– Add animation to a page
– Provide AJAX support
– Abstract away browser quirks
A Few Examples
• Forms
• Chatboxes
• Menus
• Dropdowns
• Sliders
• Tabs
• Slideshows
• Games
Using jQuery
• Adding jQuery to Your Web Pages
 There are several ways to start using jQuery on your
web site. You can:
 Download the jQuery library from jQuery.com
 Include jQuery from the file
<head>
<script src="jquery-1.10.2.min.js"></script>
</head>
The Document Ready Event
• You might have noticed that all jQuery methods in our examples, are inside a
document ready event:
• This is to prevent any jQuery code from running before the document is finished
loading (is ready).
• This also allows you to have your JavaScript code before the body of your
document, in the head section.
$(document).ready(function(){
// jQuery methods go here...
});
jQuery Selectors
• jQuery selectors allow to select and manipulate HTML
element(s).
• jQuery selectors are used to "find" (or select) HTML elements
based on their id, classes, types, attributes, values of
attributes and much more. It's based on the existing CSS
Selectors, and in addition, it has some own custom selectors.
• All selectors in jQuery start with the dollar sign
The #id Selector
The jQuery #id selector uses the id attribute of an HTML tag to find the specific element.
An id should be unique within a page, so you should use the #id selector when you want
to find a single, unique element.
To find an element with a specific id, write a hash character, followed by the id of the
element:
$("#test")
The element Selector
jQuery element selector selects elements based on the element name.
You can select all <p> elements on a page like this:
$("p")
The .class Selector
The jQuery class selector finds elements with a specific class.
To find elements with a specific class, write a period character, followed by the name of the
class:
$(".test")
What are Events?
• All the different visitor's actions that a web page can respond
to are called events.
• An event represents the precise moment when something
happens.
• Examples:
 moving a mouse over an element
 selecting a radio button
 clicking on an element
Click() event
$("p").click(function(){
$(this).hide();
});
Form.php
jQuery Validation
Before
validation
After
validation
jQuery Animations
• Animations
• Built in
– fadeIn()
– fadeOut()
– hide()
– show()
– slideDown()
– slideUp()
– toggle()
– slideToggle()
– fadeTo()
– animate()
• See also:
– Easing Plug-in
– jQuery User Interface: http://ui.jquery.com
Who’s using jQuery?
• Google
• Dell
• Bank of America
• Mozilla
• NetFlix
• NB
If this presentation helped you, please visit our
page facebook.com/baabtra and like it.
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
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com

More Related Content

What's hot (19)

PPTX
JQuery
Jussi Pohjolainen
 
PPTX
J query
David Giard
 
PDF
Short intro to JQuery and Modernizr
Jussi Pohjolainen
 
PPTX
Jquery
Zoya Shaikh
 
PDF
Introduction to jQuery
Zeeshan Khan
 
PPTX
Jquery
Pankaj Srivastava
 
PPTX
jQuery Presentation
Rod Johnson
 
PPT
Intro to jQuery
Alan Hecht
 
PPTX
jQuery
Dileep Mishra
 
PPTX
jQuery - Web Engineering
adeel990
 
PPTX
jQuery basics for Beginners
Pooja Saxena
 
PDF
jQuery Introduction
Arwid Bancewicz
 
PPTX
Jquery
Vineeth Vijayan
 
PPT
J query b_dotnet_ug_meet_12_may_2012
ghnash
 
PPTX
jQuery
Vishwa Mohan
 
PPT
J query intro_29thsep_alok
SPRITLE SOFTWARE PRIVATE LIMIT ED
 
PPT
Don't Worry jQuery is very Easy:Learning Tips For jQuery
shabab shihan
 
PPT
jQuery Mobile with HTML5
madhurpgarg
 
J query
David Giard
 
Short intro to JQuery and Modernizr
Jussi Pohjolainen
 
Jquery
Zoya Shaikh
 
Introduction to jQuery
Zeeshan Khan
 
jQuery Presentation
Rod Johnson
 
Intro to jQuery
Alan Hecht
 
jQuery - Web Engineering
adeel990
 
jQuery basics for Beginners
Pooja Saxena
 
jQuery Introduction
Arwid Bancewicz
 
J query b_dotnet_ug_meet_12_may_2012
ghnash
 
jQuery
Vishwa Mohan
 
J query intro_29thsep_alok
SPRITLE SOFTWARE PRIVATE LIMIT ED
 
Don't Worry jQuery is very Easy:Learning Tips For jQuery
shabab shihan
 
jQuery Mobile with HTML5
madhurpgarg
 

Viewers also liked (7)

PDF
Shopping cart abandonment_march2012
João Patrício
 
PDF
GfK Technology Custom Research
rickvdw
 
PDF
360 Feedback Survey
SOS Interim Management
 
PPTX
Odyssey Claims
itcuser1
 
Shopping cart abandonment_march2012
João Patrício
 
GfK Technology Custom Research
rickvdw
 
360 Feedback Survey
SOS Interim Management
 
Odyssey Claims
itcuser1
 
Ad

Similar to JQuery (20)

PPT
Jquery PPT_Finalfgfgdfgdr5tryeujkhdwappt
shubhangimalas1
 
PPTX
J query
Ramakrishna kapa
 
PPTX
Getting Started with jQuery
Laila Buncab
 
PPT
J query presentation
sawarkar17
 
PPT
J query presentation
akanksha17
 
PPTX
J Query The Write Less Do More Javascript Library
rsnarayanan
 
PPTX
JQuery_and_Ajax.pptx
AditiPawale1
 
PPTX
Jquery Complete Presentation along with Javascript Basics
EPAM Systems
 
PDF
Jquery tutorial-beginners
Isfand yar Khan
 
PPTX
Upstate CSCI 450 jQuery
DanWooster1
 
PPT
JavaScript Libraries
Daminda Herath
 
PPTX
jQuery besic
Syeful Islam
 
PPT
J query
Manav Prasad
 
Jquery PPT_Finalfgfgdfgdr5tryeujkhdwappt
shubhangimalas1
 
Getting Started with jQuery
Laila Buncab
 
J query presentation
sawarkar17
 
J query presentation
akanksha17
 
J Query The Write Less Do More Javascript Library
rsnarayanan
 
JQuery_and_Ajax.pptx
AditiPawale1
 
Jquery Complete Presentation along with Javascript Basics
EPAM Systems
 
Jquery tutorial-beginners
Isfand yar Khan
 
Upstate CSCI 450 jQuery
DanWooster1
 
JavaScript Libraries
Daminda Herath
 
jQuery besic
Syeful Islam
 
J query
Manav Prasad
 
Ad

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

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

Recently uploaded (20)

PDF
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PDF
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 

JQuery

  • 2. 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. Week Target Achieved 1 30 28 2 3 Typing Speed
  • 5. What is jQuery? • 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 • The jQuery library contains the following features:  HTML/DOM manipulation  CSS manipulation  HTML event methods  Effects and animations  AJAX
  • 6. Why jQuery? • Cross-browser support (IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.0+) • CSS-like syntax – easy for developers/non- developers to understand • Active developer community
  • 7. JQuery • Powerful JavaScript library – Simplify common JavaScript tasks – Access parts of a page • using CSS or XPath-like expressions – Modify the appearance of a page – Alter the content of a page – Change the user’s interaction with a page – Add animation to a page – Provide AJAX support – Abstract away browser quirks
  • 8. A Few Examples • Forms • Chatboxes • Menus • Dropdowns • Sliders • Tabs • Slideshows • Games
  • 9. Using jQuery • Adding jQuery to Your Web Pages  There are several ways to start using jQuery on your web site. You can:  Download the jQuery library from jQuery.com  Include jQuery from the file <head> <script src="jquery-1.10.2.min.js"></script> </head>
  • 10. The Document Ready Event • You might have noticed that all jQuery methods in our examples, are inside a document ready event: • This is to prevent any jQuery code from running before the document is finished loading (is ready). • This also allows you to have your JavaScript code before the body of your document, in the head section. $(document).ready(function(){ // jQuery methods go here... });
  • 11. jQuery Selectors • jQuery selectors allow to select and manipulate HTML element(s). • jQuery selectors are used to "find" (or select) HTML elements based on their id, classes, types, attributes, values of attributes and much more. It's based on the existing CSS Selectors, and in addition, it has some own custom selectors. • All selectors in jQuery start with the dollar sign
  • 12. The #id Selector The jQuery #id selector uses the id attribute of an HTML tag to find the specific element. An id should be unique within a page, so you should use the #id selector when you want to find a single, unique element. To find an element with a specific id, write a hash character, followed by the id of the element: $("#test") The element Selector jQuery element selector selects elements based on the element name. You can select all <p> elements on a page like this: $("p") The .class Selector The jQuery class selector finds elements with a specific class. To find elements with a specific class, write a period character, followed by the name of the class: $(".test")
  • 13. What are Events? • All the different visitor's actions that a web page can respond to are called events. • An event represents the precise moment when something happens. • Examples:  moving a mouse over an element  selecting a radio button  clicking on an element Click() event $("p").click(function(){ $(this).hide(); });
  • 17. jQuery Animations • Animations • Built in – fadeIn() – fadeOut() – hide() – show() – slideDown() – slideUp() – toggle() – slideToggle() – fadeTo() – animate() • See also: – Easing Plug-in – jQuery User Interface: http://ui.jquery.com
  • 18. Who’s using jQuery? • Google • Dell • Bank of America • Mozilla • NetFlix • NB
  • 19. If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  • 20. 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 Start up Village Eranakulam, Kerala, India. Email: [email protected]