I\'m using react and I want to get the value of the selected option of a dropdown in react but I don\'t know how. Any suggestions? thanks! My dropdown is just a select like:
Using React Functional Components:
const [option,setOption] = useState() function handleChange(event){ setOption(event.target.value) } 1 2 3 4