2

am currently studying jquery, can someone tell me the things that javascript native can do which jquery cannot ?

1
  • technically incorrect to call javascript native code? Commented Aug 3, 2011 at 14:03

3 Answers 3

7

In short: nothing

jQuery is an abstraction layer on top of plain JavaScript, it is JavaScript, it just adds a bunch of shortcuts to common tasks, usually in a highly optimized and cross-browser way.

It doesn't take anything away, you can mix and match all you want, jQuery simply adds to your options.

I'd take a look at the jQuery getting started documentation for more questions you might have like this.

Sign up to request clarification or add additional context in comments.

6 Comments

@Downvoter - Helps to mention why, if you don't mention why you think an answer is incorrect, it helps no-one...
Your check is in the mail, Nick. :)
Hmmm, I think that this requires looking at what is lost, which I would say is that speed hit from including jquery. Which makes caching via google's CDN hosting of jQuery a useful tactic. There's always a tradeoff, is the point.
@Tchalvak good point, but how is that related to anything on this thread?
Yes. What native javascript can do that jQuery cannot is: avoid the need to include the hit of that library download and any subsequent processor-use overhead. Personally I don't consider that a worthwhile tipping factor, but it may be important for performance considerations.
|
0

jQuery is a library for Javascript which adds additional features.
It doesn't replace anything.

Comments

0

None i think. But there maybe some things that jQuery can do but JavaScript cannot.

1 Comment

jQuery is Javascript. By definition, there is nothing that jQuery can do that Javascript cannot.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.