admin管理员组

文章数量:1323191

I do not know javascript right now but I am planning on learning it. My question is do I need to have a good understanding of javascript in order to use jquery? I already know actionscript and php which are quite similar. Should I study javascript before learning jquery?

I do not know javascript right now but I am planning on learning it. My question is do I need to have a good understanding of javascript in order to use jquery? I already know actionscript and php which are quite similar. Should I study javascript before learning jquery?

Share Improve this question asked Mar 8, 2010 at 1:28 Eric GatesEric Gates 9051 gold badge9 silver badges7 bronze badges 2
  • 4 Strange question. jQuery is a javascript library. It's a bit like asking if you have to have a good understanding of PHP to use codeigniter. – Erik Commented Mar 8, 2010 at 1:36
  • Hmm. Good one. But can I get away with just some basic knowledge of javascript syntax but not really know in-depth? – Eric Gates Commented Mar 8, 2010 at 9:54
Add a ment  | 

3 Answers 3

Reset to default 3

It depends on what you need to to with jQuery..

of course it helps but most basic operations can be done just calling functions of the framework itself with selectors like:

$('#elementId').hide()

So quick answer: yes, you should but until you don't need plex control flow over jquery you can do simple things just with basic syntax.

EDIT: of course without knowing how to attach functions to elements, or how to execute functions when document is loaded you can't do anything, so these basic things are essential before any kind of jQuery usage.

Probably not, although it wouldn't hurt. Chances are, if you learn jQuery, you'll also wind up learning Javascript along the way.

jQuery helps you to use the more advanced aspects of Javascript without a deep knowledge of it. However, it would be helpful for you to get a general overview before you dive in to jQuery.

本文标签: Do I need to know good javascript in order to use jqueryStack Overflow