Hi Dave,
That Chr(34) was perfect. Thanks once again.
>Look at the HTML produced by your asp page. You will see something like:
>
>VALUE=abcd efgh ijklmn
>
>The browser will interpret this as VALUE="abcd" and ignore the rest. Just put quotes around the whole string:
>
>Response.Write("VALUE=" + CHR(34) + Request.Form("param1") + CHR(34)+ ">")
>
>or
>
>Response.Write("VALUE="" + Request.Form("param1") + "">")
>
>I like using CHR(34) because it makes it more obvious to me. Also, get used to calling Response.Write with the parentheses (), as this will be the ASP.NET way.
>
>Instead of using hidden input boxes, you could also pass parameters in the session object or the url string.
>
>-Dave
>
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement