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