![]() |
|
,
0 Comments
)
|
| Subject:
ASP querystring
Category: Computers > Internet Asked by: dbarod-ga List Price: $2.00 |
Posted:
31 Jul 2002 14:25 PDT
Expires: 30 Aug 2002 14:25 PDT Question ID: 47667 |
Using asp, how do I pass space in querystring? Is there a straightforward way without using java script? |
|
| Subject:
Re: ASP querystring
Answered By: j_philipp-ga on 31 Jul 2002 14:48 PDT Rated: ![]() |
Hello Dbarod,
You can use the "%20" or "+" character to pass a space in a
query-string. Or, if you pass the value using a form, you can simply
include the space-character.
See the following ASP (XHTML/ VBScript) sample, named "default.asp":
<p>You submitted "<% = request.queryString("test") %>"</p>
<p><a href="default.asp?test=Hello%20World">Test</a></p>
<form action="default.asp" method="get">
<input type="text" name="test" id="test" value="Hello World" />
<input type="submit" value="Submit" />
</form>
Hope that helps! | |
| |
| |
| |
dbarod-ga
rated this answer:
I don't take 5 star for granted. This person zeroed right in on my problem and helped a lot. Very fast turnaround on the follow up too. I got two answered for the price of one. |
|
| There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
| Search Google Answers for |
| Google Home - Answers FAQ - Terms of Service - Privacy Policy |