VBScript GetRef Function
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 »
Complete VBScript Reference Manual