4 ms·
Jquery class selector is the slowest selector, avoid them as much as possible. ID selector is the fastest. So, if your application is jquery intense, better av
by skbohra123 16y ago
Jquery class selector is the slowest selector, avoid them as much as possible. ID selector is the fastest. So, if your application is jquery intense, better avoid css selectors.
- ricardobeat 16y agoin modern querySelector implementations (any real browser), class look-ups are just as fast as IDs.