1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
content / test / data / accessibility / event / listbox-focus.html [blame]
<!DOCTYPE html>
<html>
<body>
<select size="3">
<option>Apple</option>
<option>Orange</option>
<option>Banana</option>
</select>
<script>
function go() {
document.querySelector('select').focus();
}
</script>
</body>
</html>