onblur Property

Microsoft FrontPage Visual Basic

onblur Property

Sets or returns a Variant that represents the onblur attribute that is the script to run when the onblur event fires.

expression.onblur

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

The following example sets the onblur attribute for the first TEXTAREA element in the active document.

    Dim objTextbox As FPHTMLTextAreaElement
    
Set objTextbox = ActiveDocument.body.all.tags("textarea").Item(0)
    
objTextbox.onblur = "script()"