Professional Documents
Culture Documents
● Introduction
● Implementation Class: 01
● Syntax
● Selector, Methods
Class: 01
What is jQuery?
Lightweight JavaScript Library
JavaScript
2
Benefits of jQuery
• Browser Independent
3
Implement jQuery in HTML
4
How to use jQuery?
<html>
<head>
<script src=“jquery.js”></script>
<script>
</script>
</head>
<body>
<h1>Learn jQuery</h1>
<script>
</script>
</body>
</html>
5
Example:
Document.getElementsByClassName(‘classname’)
$(‘.classname’)
Document.getElementById(‘idname’)
$(‘#idname’)
Document.getElementsByTagName(‘tagname’)
$(‘tagname’)
5
Syntax
$(document) .ready (function( ) {
alert(“Hello jQuery”);
});
$(selector) .method( )
5
Rabin Mondal
{Domain Trainer}
Contact- 9614593059
Email- rabin.cadd@gmail.com