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

PPTX
jQuery
PDF
Javascript libraries
PPTX
How to increase Performance of Web Application using JQuery
PPT
Introduction to j query
PPTX
SharePoint and jQuery Essentials
PDF
jQuery for beginners
PPTX
JQuery
jQuery
Javascript libraries
How to increase Performance of Web Application using JQuery
Introduction to j query
SharePoint and jQuery Essentials
jQuery for beginners
JQuery

What's hot (19)

PPTX
PPTX
J query
PDF
Short intro to JQuery and Modernizr
PPTX
Jquery
PDF
Introduction to jQuery
PPTX
PPTX
jQuery Presentation
PPT
Intro to jQuery
PPTX
PPTX
jQuery - Web Engineering
PPTX
jQuery basics for Beginners
PDF
jQuery Introduction
PPTX
PPT
J query b_dotnet_ug_meet_12_may_2012
PPTX
jQuery
PPT
J query intro_29thsep_alok
PPT
Don't Worry jQuery is very Easy:Learning Tips For jQuery
PPT
jQuery Mobile with HTML5
J query
Short intro to JQuery and Modernizr
Jquery
Introduction to jQuery
jQuery Presentation
Intro to jQuery
jQuery - Web Engineering
jQuery basics for Beginners
jQuery Introduction
J query b_dotnet_ug_meet_12_may_2012
jQuery
J query intro_29thsep_alok
Don't Worry jQuery is very Easy:Learning Tips For jQuery
jQuery Mobile with HTML5
Ad

Viewers also liked (7)

PDF
Shopping cart abandonment_march2012
PDF
GfK Technology Custom Research
PDF
360 Feedback Survey
PPTX
Odyssey Claims
Shopping cart abandonment_march2012
GfK Technology Custom Research
360 Feedback Survey
Odyssey Claims
Ad

Similar to JQuery (20)

PPT
Jquery PPT_Finalfgfgdfgdr5tryeujkhdwappt
PPTX
PPTX
Getting Started with jQuery
PPT
J query presentation
PPT
J query presentation
PPTX
J Query The Write Less Do More Javascript Library
PPTX
JQuery_and_Ajax.pptx
PPTX
Jquery Complete Presentation along with Javascript Basics
PDF
Jquery tutorial-beginners
PPTX
Upstate CSCI 450 jQuery
PPT
JavaScript Libraries
PPTX
jQuery besic
PPT
J query
Jquery PPT_Finalfgfgdfgdr5tryeujkhdwappt
Getting Started with jQuery
J query presentation
J query presentation
J Query The Write Less Do More Javascript Library
JQuery_and_Ajax.pptx
Jquery Complete Presentation along with Javascript Basics
Jquery tutorial-beginners
Upstate CSCI 450 jQuery
JavaScript Libraries
jQuery besic
J query

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
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
Institutional Correction lecture only . . .
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Classroom Observation Tools for Teachers
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Pharma ospi slides which help in ospi learning
PDF
Basic Mud Logging Guide for educational purpose
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Pre independence Education in Inndia.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Cell Types and Its function , kingdom of life
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Cell Structure & Organelles in detailed.
Institutional Correction lecture only . . .
O5-L3 Freight Transport Ops (International) V1.pdf
Classroom Observation Tools for Teachers
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Sports Quiz easy sports quiz sports quiz
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Pharma ospi slides which help in ospi learning
Basic Mud Logging Guide for educational purpose
STATICS OF THE RIGID BODIES Hibbelers.pdf
01-Introduction-to-Information-Management.pdf
Final Presentation General Medicine 03-08-2024.pptx
VCE English Exam - Section C Student Revision Booklet
Pre independence Education in Inndia.pdf
TR - Agricultural Crops Production NC III.pdf
human mycosis Human fungal infections are called human mycosis..pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Cell Types and Its function , kingdom of life
102 student loan defaulters named and shamed – Is someone you know on the list?
Cell Structure & Organelles in detailed.

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: info@baabtra.com