News for hackers. Stuff that matters.
Re:I loved jQuery, and still do (2019) by chadlavi on Tuesday June 29, 2021 @10:09PM (#27684132)
class, id, and tag name are only a small subset of the things you can get with a css query, and you can't combine them with anything when you use the dedicated querySelector methods.

document.querySelectorAll("[data-my-attr=something]")

document.querySelectorAll(".foo > [data-my-attr=something]")

etc.

There are no comments on this comment yet.