J query
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
Typing Speed
Week

Target Achieved

1

30

2
3

28
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/nondevelopers 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:

$(document).ready(function(){
// jQuery methods go here...
});

•
•

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

Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com

NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550

More Related Content

PDF
Techniques and tricks in using locators with selenium
PPTX
Locators in selenium - BNT 09
PPTX
Introduction to jquery mobile with Phonegap
PPTX
jQuery - Web Engineering
PPTX
Javascript
PPTX
J query
PPTX
Selenium Locators
Techniques and tricks in using locators with selenium
Locators in selenium - BNT 09
Introduction to jquery mobile with Phonegap
jQuery - Web Engineering
Javascript
J query
Selenium Locators

What's hot (20)

PPT
jQuery Mobile with HTML5
PPTX
Java script
PPTX
Introduction to the jQuery mobile framework
PPTX
What's a web page made of?
PPT
Introduction to j query
PPTX
Efficient use of jQuery selector
PPTX
Introduction to jQuery Mobile
PDF
Advanced JQuery Mobile tutorial with Phonegap
PPT
Jquery
PPTX
jQuery
PDF
What is jQuery?
PDF
20180517 megurocss@1th
ODP
DOJO
PDF
Styling Components with JavaScript: MelbCSS Edition
PPTX
Javascipt
PDF
Styling components with JavaScript
PDF
jQuery Mobile: Progressive Enhancement with HTML5
PDF
2017年のteratailでやらかした話をしたい 20171213 _#9 _teratail_meetup
PPT
Don't Worry jQuery is very Easy:Learning Tips For jQuery
PDF
素晴らしきJSの世界とSEO 20170606 we are_javascripters@8th
jQuery Mobile with HTML5
Java script
Introduction to the jQuery mobile framework
What's a web page made of?
Introduction to j query
Efficient use of jQuery selector
Introduction to jQuery Mobile
Advanced JQuery Mobile tutorial with Phonegap
Jquery
jQuery
What is jQuery?
20180517 megurocss@1th
DOJO
Styling Components with JavaScript: MelbCSS Edition
Javascipt
Styling components with JavaScript
jQuery Mobile: Progressive Enhancement with HTML5
2017年のteratailでやらかした話をしたい 20171213 _#9 _teratail_meetup
Don't Worry jQuery is very Easy:Learning Tips For jQuery
素晴らしきJSの世界とSEO 20170606 we are_javascripters@8th
Ad
Ad

Similar to J query (20)

PPTX
jQuery
PPTX
J Query The Write Less Do More Javascript Library
PPTX
Getting Started with jQuery
PPT
Jquery PPT_Finalfgfgdfgdr5tryeujkhdwappt
PPTX
JQuery_and_Ajax.pptx
PPT
J query presentation
PPT
J query presentation
PDF
Javascript libraries
PPTX
Upstate CSCI 450 jQuery
PPTX
jQuery besic
PDF
Jquery tutorial-beginners
PPTX
jQuery
J Query The Write Less Do More Javascript Library
Getting Started with jQuery
Jquery PPT_Finalfgfgdfgdr5tryeujkhdwappt
JQuery_and_Ajax.pptx
J query presentation
J query presentation
Javascript libraries
Upstate CSCI 450 jQuery
jQuery besic
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
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)

PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
My India Quiz Book_20210205121199924.pdf
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
HVAC Specification 2024 according to central public works department
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PPTX
History, Philosophy and sociology of education (1).pptx
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PDF
Empowerment Technology for Senior High School Guide
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
Weekly quiz Compilation Jan -July 25.pdf
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Paper A Mock Exam 9_ Attempt review.pdf.
My India Quiz Book_20210205121199924.pdf
TNA_Presentation-1-Final(SAVE)) (1).pptx
What if we spent less time fighting change, and more time building what’s rig...
HVAC Specification 2024 according to central public works department
LDMMIA Reiki Yoga Finals Review Spring Summer
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
History, Philosophy and sociology of education (1).pptx
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Cambridge-Practice-Tests-for-IELTS-12.docx
Introduction to pro and eukaryotes and differences.pptx
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Environmental Education MCQ BD2EE - Share Source.pdf
Empowerment Technology for Senior High School Guide
FORM 1 BIOLOGY MIND MAPS and their schemes

J query

  • 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
  • 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/nondevelopers 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
  • 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: $(document).ready(function(){ // jQuery methods go here... }); • • 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.
  • 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 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 #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 .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
  • 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 Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550