How can we differentiate jquery and javascript.?
Where we can use jquery not javascript and vice-versa.?
How can we differentiate jquery and javascript .? Where we can use jquery not
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Javascript is a programming language which is THE dominant language on the web – every browser supports it natively.
jQUery is a library written in Javascript. So basically Jquery IS Javascript but Javascript is NOT jQuery.
Jquery is meant to make programming tasks easier which would otherwise need quite some effort when writing it with native javascipt. Also it is an additional layer which evens out some inconsistencies and differences between the several browsers (especially Internet Explorer…)
While javascript is natively available in every browser, you have to include the jQuery-script in order to use it’s functions.
One example to illustrate the usefulness of jQuery is making an AJAX Call. Creating the AJAX-Request Object in Javascript would look like this:
The jQuery-Code would look something like this:
Jquery is providing some easy functions to keep the annoying work away from the programmer.