Jquerry Introduction
Jquerry Introduction
By:H.L. Chandrakar
COURSE TO DESIGN WEBSITE
Form Validation
HTML AJAX
MYSQL CSS
Login Session
Tracking
PHP JS
Menu Design JQUERY Hit Counter
What is Jquery
• JQuery is a JavaScript library.
File1.html File2.js
<script src=“File2.js"></script>
Example
<html>
<head>
</head>
<body> document.write("JQuerry Example");
<script
src="File2.js"></script>
File2.js
</body>
</html>
File1.html
File1.html JQuery.js
•Jquery is the one of library amongst several javascript libraries which contains pre
defined function.
•To use the Jquery library we have to download it and has to be emed in our .html file
using <script> tag as follows:
<script src=“JQuery.js"></script>
Now we will be able to call and use the function which is defined in Jquery.js
Jquery Features
• HTML manipulation.
• CSS manipulation
• Event handling
• Animation
• Ajax
• Other Utilities
$(“P”).click(function(){
$(this).css(“color”,”red”);
});
ready() function
• This function is used to perform some action
after loading any web page:
• $(document).ready(function(){
………………………………..
//write your code here
………………………………..
});
THANK YOU