<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>测试</title>
<SCRIPT LANGUAGE=javascript>
<!--
function ShowSelect(s){
  if (s!=''){
    if (s=='123'){
      document.getElementById("s1").style.display="block";
      document.getElementById("s2").style.display="none";
    }
    else if (s=='456'){
      document.getElementById("s1").style.display="none";
      document.getElementById("s2").style.display="block";
    }
    else{
      document.getElementById("s1").style.display="none";
      document.getElementById("s2").style.display="none";
    }
  }
}
//-->
</SCRIPT></head>
<body>
<div id="s1" style="display:none">
<select name=a><option>下拉框1(你输入了123)<option></select>
</div>
<div id="s2" style="display:none">
<select name=b><option>下拉框2(你输入了456)<option></select>
</div>
<input type=text name=aaa onblur='javascript:void ShowSelect(this.value);'>