[thelist] Passing & thru a form using ASP

Chris Blessing webguy at mail.rit.edu
Wed Aug 14 13:47:01 CDT 2002


Craig, are you checking the submitted data via a response.write?  If so,
your browser will interpret & as just the "&" character.  If you view
the source you should see "&".

Chris Blessing
webguy at mail.rit.edu
http://www.330i.net

> note: remove the first dot after <
>
> <.!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <.html>
> <.head>
> <.title>Untitled Document<./title>
> <.meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <./head>
>
> <.body>
> <.form action="test2.asp" method="post">
> <.input type="text" value="&amp;" name="testtext">
> <.input type="submit" value="submit">
> <./form>
> <%=request.form("testtext")%>
> <./body>
> <./html>
>
>
> Thanks,
> Craig.




More information about the thelist mailing list