开发者

jQuery and JavaScript

Is it necessary to l开发者_如何学Pythonearn JavaScript before jQuery?


jQuery is a JavaScript library. To be able to use it, you need to know JavaScript.

It is possible to pick up JS as you learn jQuery, but this is a terrible approach that will leave you confused about what is JavaScript and what is jQuery.


Yes. Unless you understand Javascript's approach to objects, passing functions, the "this" identifier, and other language specific constructs, you won't be able to understand the prototypes for jQuery functions.

I'm teaching myself both at the same time, but it would certainly help to know Javascript basics (at least) before starting with jQuery.


It's a good idea to know the basics of JavaScript, but you don't need in depth knowledge of it to use JQuery. It's like programming with any other framework. It will do a lot for you, and you can fumble through it with only knowing a little bit of the underlying language, but sooner or later, you'll probably run into a situation where having a good grasp of JavaScript will be helpful.


It would definitely help, but would also probably be fairly painful.

If I were you, I would crack on with jquery...

Make liberal use of visualjquery.com, and you've always got stackoverflow to fall back on...

Good luck fella


Given that jQuery is a library of JavaScript code, meant to ease development of JavaScript applications that interact with web browsers/content, I'd say yes. Now, you could learn both at the same time, like many people have learned Ruby in order to learn Rails. But they're kind of inseparable.


It can be useful if you need to debug something, also: Firebug

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜