<META content=
<title>動態提示的下拉框</title>
<style>
a{color:red;text
</style>
</head>
<body onload=
<center>
<h
<hr>
<form name=frm>
<table>
<tr>
<td>請輸入
</tr>
<tr>
<td>
<span id=
<option value=
<option value=
<option value=
<option value=
<option value=
<option value=
<option value=
<option value=
<option value=
<option value=
<option value=
<option value=
<option value=
<option value=
<option value=
<option value=
<option value=
<option value=
</select></span>
</td>
</tr>
</form>
</table>
<hr>
<script language=
var TempArr=[];//存貯option
function Init(){
var SelectObj=document
/*先將數據存入數組*/
with(SelectObj)
for(i=
}
function SelectTip(flag){
var TxtObj=document
var SelectObj=document
var Arr=[]
with(SelectObj){
var SelectHTML=innerHTML
for(i=
if(TempArr[i][
Arr[Arr
innerHTML=SelectHTML+Arr
}
}
</script>
</body>
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/19719.html