Mention the differences between javascript and jquery.



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

Post New Answer

More jQuery Interview Questions

Can you use any other name in place of $ (dollar sign) in jQuery?

1 Answers  


What are the advantage of using cdn? : jquery mobile

1 Answers  


Explain url paremeter of jquery ajax method?

1 Answers  


How to load a page using jquery mobile? : jquery mobile

1 Answers  


What are the various ajax functions available in jquery ?

1 Answers  


What is the use of jQuery.ajax method ()?

1 Answers  


What are your tools of choice to get the jquery job done?

1 Answers  


Explain the use jquery.data method?

1 Answers  


Explain .delegate()? : jquery mobile

1 Answers  


Is numeric in jquery?

1 Answers  


Explain .bind() vs .live() vs .delegate() vs .on()

2 Answers  


How to use connect in jquery?

1 Answers  


Categories