VBScript GetRef Function
Tutorial -- Learning is not just about technology, but also about dreams!
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
VBScript Tutorial
VB Tutorial VB Usage VB Variables VB Procedures VB Conditionals VB Looping VB Summary VB Examples VB Functions VB Keywords
Explore In Depth
Script
Programming
AI Tools, Chatbots, and Virtual Assistants
Web Applications and Online Tools
Scripting Languages
Web Services
Programming Languages
Script
Development Tools
Web Service
VBScript GetRef Function
Complete VBScript Reference Manual
The GetRef function allows you to connect a VBScript subroutine to a DHTML event on the page.
Syntax
Set object.event=GetRef(procname)
| Parameter | Description |
|---|---|
| object | Required. The name of the HTML object to which the event is associated. |
| event | Required. The name of the event to bind the function to. |
| procname | Required. The name of the Sub or Function procedure associated with the HTML event. |
YouTip