request/response question

A

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
 
B

Bob Barrows [MVP]

abcd said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top