我已经为索引页面中的一些页面创建了一个下拉列表,从下拉列表中选择一个页面后,页面将重定向到相应的页面。代码如下:
i. Index.html
<script>
function DropList() {
var n = document.getElementById("sel").options.length;
document.getElementById("sel").size = n;
}
function handleSelect(elm){
window.location = elm.value;
}
</script>
&l