I have a select element that looks like this:
var select = <select class="form-control" id="state-dropdown" selected="Illinois"></select>
I need to be able to access the 'selected' value but I'm not sure how this is done. I've tried select.selected, select[selected], select:selected