Reputation: 2632
I have this HTML:
<form name=tett>
<input type=text name=tf value="testing prompt" size=15>
</form>
And this JavaScript:
var df = prompt(" enter your name ");
document.tett.tf.value = df;
How can I do this in VBScript?
Upvotes: 0
Views: 278
Reputation: 41533
It should be something like this :
df = InputBox("enter your name");
form.tf.value = df;
.. but don't mind me asking: why do you want to do this in the first place?
Upvotes: 2