updated Jquery.md (#28625)

I have add more some details and some facts
pull/30910/head^2
Aathil Ahamed 2019-01-31 05:17:40 +05:30 committed by Christopher McCormack
parent 158b27c715
commit abacc3283c
1 changed files with 10 additions and 3 deletions

View File

@ -6,15 +6,22 @@ title: jQuery
![logo](https://upload.wikimedia.org/wikipedia/en/thumb/9/9e/JQuery_logo.svg/250px-JQuery_logo.svg.png "jQuery logo")
jQuery is the most widely-used JavaScript library, and is used in more than half of all major websites.
jQuery is the most widely-used JavaScript library, and is used in more than half of all major websites. It's motto is "write less, Do more...!"
jQuery makes web development easier to use by providing a number of 'helper' functions. These help developers to quickly write DOM (Document Object Model) interactions without needing to manually write as much JavaScript themselves.
jQuery adds a global variable with all of the libraries methods attached. The naming convention is to have this global variable as <code>$</code>. by typing in <code>$.</code> you have all the jQuery methods at your disposal.
## Example
## Get Started
When a user clicks on a button, all \<p> elements will be hidden:
Before studying JQuery, you should have basic knowledge of these topics:
1. HTML
2. CSS
3. JavaScript
## Example Usage
When a user clicks on a button, all `<p>` elements will be hidden:
```javascript
$(document).ready(function(){