test.html
<html> <form action="test.asp" method="get"> <input name="tid" type="text" /> <input type="submit" /> </form> </html>
test.asp
<% response.write encodeURIComponent(request("tid")) %>
ASP接HTML(POST)
把上面例子http method的get改成post即可
<form action="test.asp" method="post">
沒有留言:
張貼留言