傳統
這裡要做的是
Html代碼
復制代碼 代碼如下:<!DOCTYPE html PUBLIC "
<html xmlns="
<head>
<meta http
<title>轉移菜單</title>
<script type="text/javascript" src="轉移菜單
</head>
<body>
<form>
<select id="newLocation">
<option selected="selected" value="">Select a topic</option>
<option value="topic
<option value="topic
<option value="topic
<option value="topic
<option value="topic
</select>
<!
<noscript>
<input type="submit" value="Go There!"/>
</noscript>
</form>
</body>
</html>
Javascript腳本
window
//防止頁面緩存
window
function initForm(){
document
document
}
function jumpPage(){
var newLoc=document
var newPage=newLoc
if (newPage!=""){
window
}
}
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/20533.html