3 ms·
I've used a similar approach for a similar effect... I prefer using the label as the container element, and putting the text in a span. If you nest inputs in t
by betenoire 10y ago
I've used a similar approach for a similar effect...
I prefer using the label as the container element, and putting the text in a span. If you nest inputs in the label, you don't need to come up with a unique ID each time.