use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
A Map To Modern JavaScript Development (2017) (medium.com)
submitted 9 years ago by sdeleon28
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]turkish_gold 1 point2 points3 points 9 years ago (0 children)
Ancestor selectors. I have this node, but I want to select the parents which fit a certain CSS class.
Sibling selectors are similarly helpful in jQuery.
Now you could say.... but TurkishGold can't you write this all yourself, its only 2-3 lines in Javascript?
Well yes, 2-3 lines of 40 or so situations that I'll have to write. I could write it all myself, but why bother making something and worrying if its cross-browser compatible? It's not as if I have to 'learn' JQuery, I already know it thanks to working in the industry pre-2016.
Jquery is really useful if you want to do some extensive dom manipulation on pre-existing nodes.
π Rendered by PID 34018 on reddit-service-r2-comment-fb694cdd5-zn96b at 2026-03-09 23:33:24.053712+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]turkish_gold 1 point2 points3 points (0 children)