Difference Between JavaScript And JQuery In Tabular Form
S.No | Basic Terms | JavaScript | JQuery |
1. | Logo | ||
2. | Meaning | JavaScript is the most popular scripting language on the internet, and works in all major browsers, such as Internet Explorer, Firefox, Chrome, Opera, and Safari. | JQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. |
3. | First appeared | December 4, 1995; | Initial release August 26, 2006; |
4. | Developed by | Brendan Eich | John Resig |
5. | Type of format | Scripting language | JavaScript library |
6. | Implementation Use | client-side in web browsers | jQuery is a JavaScript library designed to simplify the client-side scripting of HTML. |
7. | Composed of: | its is a combination of ECMA Script and Document Object Model (DOM). | jQuery has Document Object Model (DOM). |
8. | Web-based application creation | JavaScript has many processes in creating web based applications. | Creating a web based application using jQuery becomes easier. |
9. | Animation Creation | Animations are not possible using JavaScript. | Animations can be easily created using jQuery. |
10. | Filename Extensions | .js | .js |
11. | Features |
|
|
12. | Uses of Code |
(like alert dialog box, confirm dialog box and prompt dialog box)
|
|
13. | Example | Two JavaScript function to change the background color with the onload function that would need to placed into the body tag function changeBackground(color) { document.body.style.background = color; } onload="changeBackground('red');" | Example: One JQuery changing the background color of a body tag $('body').css('background', '#ccc'); This is the clean code JQuery provides. |
(Visited 418 times, 1 visits today)
Written by: