• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 32. Writing Active Server Pages > Objects, Properties, Methods, and Eve...

Objects, Properties, Methods, and Events in VBScript

Before you proceed further, you should take some time to review some terminology. VBScript follows much the same object model and uses many of the same terms as JavaScript. In VBScript, as in JavaScript—and in any object-oriented language, for that matter object is a collection of data and functions that have been grouped together. An object's data is known as its properties, and its functions are known as its methods. An event is a condition to which an object can respond, such as a mouse click or other user input. The VBScript programs that you write use properties and methods of objects, both those that you create and those objects provided by the Web browser, its plug-ins, ActiveX controls, Java applets, and so on.

Tip

The following is a simple guideline: An object's properties are the information that it knows; its methods are how it can act on that information; and events are what it responds to.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint