Prueba esto:

```javascript
function val() {
    d = document.getElementById("select_id").value;
    console.log(d);
}

<select onchange="val()" id="select_id">
```