I\'m trying to get the value of a select element in HTML with JavaScript but for some reason it says it\'s null and throws an error.
I get the following error on