Sample HTML function that reports the value of a text box named BasicTextBox.

Visual Basic
Edit|Remove
Sub RunScript
    Msgbox BasicTextBox.Value
End Sub