Mention the differences between javascript and jquery.
Answer / Kana Ram
JavaScript is a programming language used for building dynamic web content, while jQuery is a popular JavaScript library that simplifies HTML document traversing, event handling, animating, and AJAX calls. Key differences include:
1. JavaScript is case-sensitive (var x = 5;), whereas jQuery uses lowercase (var $x = $('#id'));
2. JavaScript requires more lines of code for DOM manipulation, while jQuery offers a more compact and simpler syntax;
3. jQuery uses the '$' symbol as a shortcut to the jQuery object, unlike JavaScript where variables are not predefined.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can you use any other name in place of $ (dollar sign) in jQuery?
What are the advantage of using cdn? : jquery mobile
Explain url paremeter of jquery ajax method?
How to load a page using jquery mobile? : jquery mobile
What are the various ajax functions available in jquery ?
What is the use of jQuery.ajax method ()?
What are your tools of choice to get the jquery job done?
Explain the use jquery.data method?
Explain .delegate()? : jquery mobile
Is numeric in jquery?
Explain .bind() vs .live() vs .delegate() vs .on()
How to use connect in jquery?