function handleSelectChange(event) { var selectElement = event.target; var value = selectElement.value; console.log(value); }