4 ms·
>You may argue that it's simpler (I'd argue it's not) I would argue that when you're creating dynamic content, dealing with IDs is inelegant. If I already have
by mistercow 14y ago
>You may argue that it's simpler (I'd argue it's not)
I would argue that when you're creating dynamic content, dealing with IDs is inelegant. If I already have a reference to a DOM node, I shouldn't have to assign it a unique ID just so I can tell another node about it.