Sample HTML function that reports the value of a password box named PasswordArea.

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