<select onchange="alert(this.value)">
<option value="">Select something</option>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</select>
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.