JQuery(write less,do more)
- This is not a language
- It's javascript library
- Easy to learn
- Jquery makes for easier to use javascript on our web
- Open source
JQuery is not a only library for javascript But JQuery is probably most popular and extendable
JQuery works mostly All browers
JQuery library has some features
- HTML/DOM manipulation
- CSS manipulation
- HTML event methods
- Effects and animations
- AJAX
- Utilities
JQuery Syntax
- Basic syntax is:- $(selector).action()
- $ sign to define/access jQuery
- (selector) to "query (or find)" HTML elements
- A jQuery action() to be performed on the elements(s)
Download the jQuery library from jQuery.com
1.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)
2.Include jQuery from a CDN, like Google
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script></head>
No comments:
Post a Comment