3 ms·
The #id selector performance tip is definitely true, but in single-page interface you never know which DOM elements may be floating around on a page, which woul
by c4urself 15y ago
The #id selector performance tip is definitely true, but in single-page interface you never know which DOM elements may be floating around on a page, which would go against the one id per page principle.
- marcins 15y agoYou can't have two elements with the same id. Well, you can, but it's not valid.