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