Home All Groups Group Topic Archive Search About

request/response question



Author
16 Mar 2006 12:45 AM
abcd
I canget the value of the control on a form by using

Request.form("controlName")

is there anyway thru ASP object to set the value to the particular control.

thanks

Author
16 Mar 2006 1:08 AM
Bob Barrows [MVP]
abcd wrote:
> I canget the value of the control on a form by using
>
> Request.form("controlName")
>
> is there anyway thru ASP object to set the value to the particular
> control.
ASP generates html that is sent to the client. That, along with processing
the request object, is the ONLY interaction it can have with a page loaded
in the browser.

You can of course, response.write data into the html as the page is loading.

<input name="something" value="<%=20%>">

For anything else, you must use client-side code which is outside the topic
of this newsgroup. Try googling for xmlhttp and post any questions you have
about it to microsoft.public.scripting.jscript.

Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

AddThis Social Bookmark Button