Answer the question
In order to leave comments, you need to log in
Why do some people ask for JS without jQuery???
Why do some people ask for JS without jQuery??? I constantly see, then make a popup without jquery, then a floating menu without jquery. Why didn't he please them?
Answer the question
In order to leave comments, you need to log in
Probably because they don't want to pull a library of 70k code for some little thing.
If this is for an interview, then it's more likely to just check that the person speaks JavaScript, and not just jquery.
This is most likely due to the compatibility policy: $ is all cool because he takes care of it. Because of this (and not only) it turns out that $ shuts everyone up not with speed, but with flexibility and functionality.
It's possible that your "some people" are aware that in some cases tree traversal queries for $ can take up to 0.3 seconds and want to avoid it. For example, forcing you to write js exclusively for ff )
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question