View Source
Go Back to /jang/books/webprog/06asp/example/response/redirect.asp
Go Back to WWW sandbox
<%@language=JScript%>
<%
// 有更好的辦法來進行下列測試嗎?
x=Request.Form("select")+"";
if (x!="undefined")
Response.Redirect(Request.Form("select"));
%>
<%title="Response.Redirect 的範例"%>
<!--#include file="../head.inc"-->
<hr>
請選一個轉址目標:
<form method="post">
<input type="radio" name="select" value="/jang/books/webprog/03jscript/" onClick="this.form.submit()">
JavaScript 線上中文手冊<br>
<input type="radio" name="select" value="/jang/books/webprog/06asp/" onClick="this.form.submit()">
ASP 線上中文手冊<br>
<input type="radio" name="select" value="/jang/books/webprog/08perl/" onClick="this.form.submit()">
Perl 線上中文手冊<br>
</form>
<hr>
<!--#include file="../foot.inc"-->