Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In order to know jQuery, do I have to know JavaScript first?

In order to know jQuery, do I have to know JavaScript first?

like image 947
aborted Avatar asked Jan 01 '11 13:01

aborted


People also ask

Do I need to know JavaScript to learn jQuery?

For using jQuery properly, Vanilla JavaScript knowledge is a prerequisite and you should not skip it at any cost. Also, after you are actually good with Vanilla JavaScript, you would either not need to use jQuery, or you would be able to learn the library in minimal time.

What do I need to know before learning jQuery?

You can not understand jQuery if you can not understand how Javascript works. Some programmers learning jQuery wihtout the knowledge of javascript thought that they are learning a new programming scripting language. But they did not know that jQuery is not. They are just using jQuery as a tool.

Is jQuery easier than JavaScript?

Therefore developers find it easier to work with jQuery than with JavaScript. Though JavaScript is the basic language from which jQuery has evolved, jQuery makes event handling, DOM manipulation, Ajax calls much easier than JavaScript.

Do I need to learn JavaScript before Ajax?

You should absolutely learn javascript. And because AJAX is achieved with javascript, by learning javascript you will also learn AJAX. AJAX is not a different language. It's a pattern that you could use to develop asynchronous web applications using javascript.


2 Answers

My answer is also YES and Here are the reasons in this nice article:

Learning Javascript or Simply the JS Frameworks?

Quoting main reasons from above article:

  • Frameworks don’t do it all.

Whereas frameworks and code libraries often take a lot of the heavy lifting when coding up sites, they can’t do it all. If you come along and think “I need to do this” and your framework does not provide such a function, you’re stuck up a creek without one very handy paddle.

  • Employment

Imagine you’ve spent 9 years working with jQuery but never took the time, for whatever reason, to fully learn Javascript. Then you see the perfect job vacancy, javascript developer at a well respected company with very good pay. You’re thinking to yourself that they HAVE to pick you, you’ve worked with javascript for so long, but when you arrive and they ask you about your knowledge of javascript, you’re in trouble.

  • Easier to pick up the framework

If you’ve spent a period of time with javascript, the syntax that jQuery (and most other javascript frameworks) uses is going to be a lot easier to pick up and a lot easier to master.

  • Edit the Source and Plug In!

It’s always great fun to dive into the code and edit the library to suit yourself, you can add your own functions when you find a gap in the library


It is also discussed before:

Is it a good idea to learn JavaScript before learning jQuery?

like image 64
Naveed Avatar answered Nov 15 '22 09:11

Naveed


Yes. jQuery is a Javascript library. You can only use it from Javascript code, so you need to know some Javascript in order to call it.

like image 38
Mark Byers Avatar answered Nov 15 '22 10:11

Mark Byers