|
-
December 12th, 1999, 07:02 AM
#1
Inserting a value into an HTML textbox
If I have a text box on a web page like this
<input type="text" size=20 name="textbox" id=textbox">
How do I insert a value into the text box using vbscript?
-
December 12th, 1999, 08:49 AM
#2
Re: Inserting a value into an HTML textbox
<input type="text" size=20 name="textbox" id=textbox" VALUE="Insert This">
whg
-
December 12th, 1999, 09:33 AM
#3
Re: Inserting a value into an HTML textbox
I need to do it with VBScript not by setting the value before hand. Using JavaScript it would be something like this.
document.FormName.TextBox.value = "Hello World";
-
December 12th, 1999, 03:25 PM
#4
Re: Inserting a value into an HTML textbox
<input type="text" size=20 name="textbox" id=textbox" VALUE="%varname&">
-
December 13th, 1999, 11:11 AM
#5
Re: Inserting a value into an HTML textbox
Shouldn't your:
document.FormName.TextBox.value = "Hello World";
Actually be:
document.FormName.TextBox.Text = "Hello World";
-
December 28th, 1999, 05:10 AM
#6
Re: Inserting a value into an HTML textbox
use
formname.textboxname.value ="XYZ" in any event..
Sudharshaan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|