ondataavailable Property

Microsoft FrontPage Visual Basic

ondataavailable Property

Returns or sets a Variant that represents the value of the ondataavailable attribute that is the name of the script to run when the ondataavailable event fires.

expression.ondataavailable

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

Example

The following example sets the ondataavailable attribute for the BODY element in the active document.

    ActiveDocument.body.ondataavailable = "script()"