selection event target label code example Example: how to select text from event.target.value evt.target.innerText