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