FrankSharp
FrankSharp

Reputation: 2632

Translate JavaScript to VBScript

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

Answers (1)

gion_13
gion_13

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

Related Questions