<script>
window.onload=function() {
a.options[10] = b;
document.execCommand("selectAll", false);
document.activeElement.hidden = true;
a.options.selectedIndex = 1;
}
</script>
<input contenteditable>
<select id="a" multiple>
<option id="b" selected>