Ctrl+/
IE11
F11
ESC
PgUp
PgDn
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JS使用方向键控制选择项目的文本框</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<style type="text/css">
#divSelect{border:1px solid red;width:208px !important;width:210px;}
#divSelect ul{width:200px;margin:3px;margin-left:-35px;*margin-left:3px;overflow:hidden;}
#divSelect ul li{float:left;list-style-type:none;width:45px;height:14px;line-height:20px;font:14px arial;text-align:center;padding:2px;}
#divSelect li:hover{background:green;cursor:pointer;}
#txtInput{width:205px;}
</style>
</head>
<body>
<form method="post" action="##">
CSS代码...
JS代码...
xxxxxxxxxx