0
I want to make the "sample text" of the code:
<label for=valueexemplo>
<input type=checkbox value=valueexemplo>Texto de Exemplo
</label
keep the entire selectable text area, as if you were clicking on the checkbox itself, but clicking on the text.
The attribute
for
taglabel
gets aid
of the element and not avalue
, that’s the problem, correct:<label for="valueexemplo">
<input type=checkbox id="valueexemplo">Texto de Exemplo
</label>
... View documentation– NoobSaibot