Click to See Complete Forum and Search --> : querystring with pound sign


gcheung
05-24-2003, 10:01 AM
pls help for the following : texts after a pound sign (including # itself) can't be displayed if the input texts includes # somewhere in between.......


Page 1 :
<html>
<title>page 1</title>
<body>
<form action='page2.asp' method="post">
<input type=text name='testinput'>
<p><input type="button" value='submit' name='submit' onClick="window.location='page2.asp?testinput1=' + document.forms[0].testinput.value">
</body>
</html>

Page 2 :
<%
response.write request.querystring("testinput1")
%>