Remove the events from the options, use an event directly on the select instead.
function myfunc(value) {
alert(value);
}
...
<select onchange="myfunc(this.options[this.selectedIndex].value)">
</select>
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/761"></script>