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