The query-selector tag has no wiki summary.
0
votes
0answers
9 views
2
votes
1answer
56 views
Efficient Traversal and Manipulation of the DOM with Native JavaScript Using For/In Loop
With native JavaScript, I intend to traverse a collection of elements in the DOM that contain a link and an image (and possibly other elements). The image may or may not be inside the link—in ...
14
votes
2answers
203 views
Hmm, a thoughtful library
I've been writing far too many routines in JavaScript that get a record from a an object or array based off a matching property, much like jQuery does with DOM elements. Since all the good names are ...
2
votes
2answers
143 views
Showing/hiding a box containing a Facebook profile
I see that there are quite some words that are appearing double or more times in my code.
I'm thinking there might be a more efficient way of writing this code, only I don't have the knowledge to do ...
7
votes
1answer
323 views
Very fast query selector — did I miss something?
A few months ago, I wrote a query selector that seems to outperform the query selectors in the popular GP libraries by a pretty hefty margin. I'm wondering if I overlooked something; it seems odd that ...