VBScript GetRef Function
Complete VBScript Reference
The GetRef function allows you to connect a VBScript procedure to a DHTML
event on your pages.
Syntax
Set object.event=GetRef(procname)
|
Parameter |
Description |
object |
Required. The name of a DHTML object with which DHTML
event is associated |
event |
Required. The name of a DHTML event to which the
function is to be bound |
procname |
Required. The name of a Sub or Function procedure to be
associated with the DHTML event |
Example 1
Function test()
dim txt
txt="GetRef Test" & vbCrLf
txt=txt & "Hello World!"
MsgBox txt
End Function
Set Window.Onload=GetRef("test")
|
Complete VBScript Reference
|
|
|