JavaScript is a scripting language for the web. Microsoft refers to their implementation of it as "JScript" but in terms of syntax it's pretty much the same. jQuery is JavaScript. It is a JavaScript library, so it operates on top of JavaScript. It cannot exist on its own, so you can't use one over the other. You can use just JavaScript or JavaScript and jQuery. In other words, jQuery is a software library, written in JavaScript, whose intention is to help JavaScript developers when writing code that is to be run in a web page. jQuery is designed to make many JavaScript development tasks much easier. Use jQuery when it will significantly reduce your development time, and you can afford the extra overhead of downloading the library. Personally my reasons of using jQuery/JavaSccript libraries are: Complex element selection Animation Event handling crossbrowser support easy element selection customizable plugins large support community very popular jQ
Comments
Post a Comment