Choose a location:
posted 2/12/2011 by Raghav Khunger
I have seen many people asking a question on forums on "Difference between jQuery and JavaScript" . Some people are in dilemma that jQuery is a kind of magical thing which can do the client side work which JavaScript can't. I decided to write a quick blog on this to give a brief on this topic.jQuery is a library written in JavaScript. The biggest advantage of jQuery is that it's cross browser. jQuery is nothing more than javascript inside it. jQuery has it's own syntax to do various stuff like playing with the DOM. jQuery is a wrapper of JavaScript language with a more intuitive syntax which permits us to do and perform complex tasks in a quicker, more cross-browser way. Jquery, a wrapper of JavaScript methods, supplies you with functionality independent of browser platform wrapping all the complexity.jQuery is one of the other JavaScript Frameworks (Motools, Dojo, Prototype e.t.c). You can think of these frameworks as a conatiner of commonly needed JavaScript snippets.So binding it up:"JavaScript is a language whereas jQuery is a library written using JavaScript"
What kind of email newsletter would you prefer to receive from CodeAsp.Net? 18