This is not working on Chrome?
<select id="mySelect" onmouseout="defocusSelect()">
<option>A</option>
<option>B</option>
</select>
...
function defocusSelect(){
document.getElementById('mySelect').blur();
}
I need this in order to hide the options list when I move the mouse away from the select. It is not working in Chrome. Does anyone know what can I use instead of blur()
in order to make this work on Chrome?