Jquery Syllabus
Jquery Syllabus
LEARN SVG
jQuery Events
jQuery Mouse Events
jQuery Keyboard Events
jQuery Form Events
jQuery Window Events
jQuery HTML
jQuery Get Methods
jQuery Set Methods
jQuery Add/Remove Class
jQuery CSS Method
jQuery On & Off Method
jQuery Append & Prepend
jQuery After & Before
jQuery Empty & Remove
jQuery AppendTo() & PrependTo()
jQuery Clone Method
jQuery Replace
jQuery Wrap & UnWrap
jQuery WrapAll & WrapInner
jQuery Dimensions
jQuery Width & Height
jQuery Position & Offset
jQuery Effects
jQuery scroll Method
jQuery hasClass Method
jQuery Hide Show & Toggle
jQuery fade
jQuery slide
jQuery Animate Method
jQuery Stop Method
jQuery Traversing
jQuery Chaining
jQuery parent closest
jQuery Children & Find
jQuery Sibling
jQuery First/last/eq/not/slice
jQuery has & Is Method
jQuery each Method
jQuery Advanced
jQuery page
jQuery Event Type
jQuery Event Which
jQuery Event Target
jQuery Event preventDefault
jQuery Event stopPropagation
jQuery Event Data
jQuery Plugin introduction
What is jQuery?
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.
jQuery takes a lot of common tasks that require many lines of JavaScript code to
accomplish, and wraps them into methods that you can call with a single line of code.
jQuery also simplifies a lot of the complicated things from JavaScript, like AJAX calls and
DOM manipulation.
HTML/DOM manipulation
CSS manipulation
HTML event methods
Effects and animations
AJAX
Utilities
Why jQuery?
There are lots of other JavaScript libraries out there, but jQuery is probably the most
popular, and also the most extendable.
Many of the biggest companies on the Web use jQuery, such as:
Google
Microsoft
IBM
Netflix
Downloading jQuery
There are two versions of jQuery available for downloading:
Production version - this is for your live website because it has been minified and
compressed
Development version - this is for testing and development (uncompressed and
readable code)
<head>
<script src="jquery-3.7.1.min.js"></script>
</head>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Learn jquery</title>
<script src="js/jquery.js"></script>
</head>
<body>
<script>
$(document).ready(function(){
alert(1);
});
</script>
</body>
</html>
Google CDN:
<head>
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.
js">
</script>
</head>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Learn jquery</title>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous"></script>
</head>
<body>
<script>
$(document).ready(function(){
alert(1);
});
</script>
</body>
</html>