Porva così:
codice:
<% strf = request("qq") %>
<form>
<input name="qq" type="text" onchange="location.href='ciao.asp'">
<input type="button" onclick="location.href='pippo.asp?id=<%=strf%>'" value="invia">
</form>