Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript GetRef Function

VBScript GetRef Function


VBScript reference manual Complete VBScript Reference Manual


The GetRef function allows you to connect a VBScript procedure to a DHTML event on a page.

Syntax

Set object.event=GetRef(procname)

Parameters Description
object Required. The name of the HTML object associated with the event.
event Required. The name of the event to bind to the function.
procname Required. The name of the Sub or Function procedure associated with the HTML event.

Example

Example

Try it »


VBScript reference manual Complete VBScript Reference Manual