News for hackers. Stuff that matters.
Re:JQuery 3.4.0 Released by gregmac on Thursday April 11, 2019 @03:30AM (#19631906)
Sometimes you just have a single element to show/hide on an otherwise static or very simple page. It's satisfying to make that work in minutes with just a couple lines of code, which you can craft/tweak in your browser dev tools console if you like.
Re:JQuery 3.4.0 Released by simplify on Thursday April 11, 2019 @04:19PM (#19638739)
If that's the case, then document.querySelector works like a charm.