Re:From jQuery to JavaScript and back again
by benhowdle89 on Friday February 08, 2013 @07:32AM
(#5187503)
This. Everything this. Find the pain points with JavaScript, then make your life easier with jQuery.
Re:From jQuery to JavaScript and back again
by UweSchmidt on Friday February 08, 2013 @07:57AM
(#5187595)
I'd say: start with learning jQuery and check out the equivalent Javascript code for reference and amusement.
Re:From jQuery to JavaScript and back again
by PommeDeTerre on Friday February 08, 2013 @07:51AM
(#5187569)
Just about everything is a pain point when using JavaScript or when dealing with the DOM. So it's understandable, although maybe not a good idea, why so many people don't separate JavaScript and libraries like jQuery, MooToo, or YUI.
Such a combination is essentially needed merely to bring JavaScript up to a minimal level of usability. We generally don't find this to be the case with other, more sensible languages, which is why it seems so odd. C, C++, Java, C# and Python implementations come with a sensible language and a rich standard library. Developers using them don't need to bring their own standard library just to get a basic level of functionality.
So that's the point that OP is making. First learn JavaScript, then move to abstractions such as jQuery. That way you won't ask silly questions such as "how to write a if statement in jQuery".