I have a textbox form on a page
<input type="TEXT" name="Subject" size="50"> <br>
and I want to set it equal to some text when a button is pressed
<INPUT id="cmd2" type=submit value="Display Data Structure" name="DDS" LANGUAGE=vbscript>
<Script Language=VBScript>
Sub cmd2_OnClick()
[Set TextBox "Subject" = [SomeText]] ?????
End Sub
</Script>
How do I do this?
Then, when I want to capture that text with an ASP page, what is syntax to refer to the textbox form? Something like sText = Request.Form("Subject"
?
<input type="TEXT" name="Subject" size="50"> <br>
and I want to set it equal to some text when a button is pressed
<INPUT id="cmd2" type=submit value="Display Data Structure" name="DDS" LANGUAGE=vbscript>
<Script Language=VBScript>
Sub cmd2_OnClick()
[Set TextBox "Subject" = [SomeText]] ?????
End Sub
</Script>
How do I do this?
Then, when I want to capture that text with an ASP page, what is syntax to refer to the textbox form? Something like sText = Request.Form("Subject"