Captain Webb's HTML Object Model for VBScript
HTML OBJECTS
PROPERTIES
METHODS
EVENTS
window  

 

 

 

 

 

 

. frames
. location
. navigator
. history
. document
 

 

 

 

 

 

. links
. anchors
. forms


. elements
. options
Adjectives

Descriptive values or strings

Verbs

Programmers can cause HTML objects to "do" these verbs

Verbs

Users "do" these verbs to the HTML Objects

window

frames

frames(0)
frames(1)
frames(2)...

or
names from the name= fields in the
<FRAME> tag
name
parent
opener
self
top
defaultstatus
status
alert
confirm
prompt
open
close
settimeout
cleartimeout
navigate
onload
onunLoad
location href
protocol
host
hostname
port
pathname
search
hash
navigator appcodename
appname
appversion
useragent
history length back
foward
Go
document linkcolor
alinkcolor
vlinkColor
bgColor
fgColor
location
lastmodified
title
cookie
referrer
write
writeLn
open
close
clear
links

links(0)
links(1)
links(2)...

href
protocol
host
hostname
port
pathname
search
target
hash
onMouseMove
onMouseOver
onClick
anchors

anchors(0)
anchors(1)
anchors(2)...

name
forms

forms(0)
forms(1)
forms(2)...
or
names from the name= fields of the <FORM> tag
action
encoding
method
target
submit onsubmit
elements

elements(0)
elements(1)
elements(2)...

or

names from the
name= fields
on the <INPUT> tag

refer to these HTML objects:
text
textarea
checkbox
radio
select
password
button
submit
reset

Form
name
Value
DefaultVAlue
Checked
DefaultChecked
Length
Options
SelectedIndex
Click
Focus
Blur
Select
OnClick
OnFocus
OnBlur
OnChange
OnSelect
options

options(0)
options(1)
options(2)...

Text
ACTIVE SERVER OBJECTS
PROPERTIES
METHODS
EVENTS

Request
Response
Session
Server
Application

Adjectives

Descriptive values or strings

Verbs

Programers can make the server objects do these verbs

Verbs
THERE ARE NO user verbs. Active Server Objects execute in *.asp pages on the server

Request.Form(index).property

Request.Form(0)
Request.Form(1)
Request.Form(2)...

or

Request.Form

if there is only one form

action
encoding
method
target
Request.QueryString("object_name")

where object_name is the value of the name= field in the <INPUT> tag

Request ServerVariables (parameter)

parameters:


AUTH_TYPE
CONTENT_LENGTH
CONTENT_TYPE
GATEWAY_INTERFACE
HTTP_HeaderName
LOGON_USER
PATH_INFO
PATH_TRANSLATED
QUERY_STRING
REMOTE_ADDR
REMOTE_HOST
REQUEST_METHOD
SCRIPT_MAP
SCRIPT_NAME
SERVER_NAME
SEVER_PORT
SERVER_PORT_SECURE
SERVER_PROTOOCOL
SERVER_SOFTWRAE
URL

Response Buffer
ContentType
Expires
ExpiresAbsolute
Status
AppendToLog
WriteBinary
Clear
End
Redirect
Write
Session SessionID
Timeout
Abandon
Server ScriptTimeout MapPath
CreateObject
Application("user_defined_name") Lock
Unlock
ACTIVE DATA OBJECTS
PROPERTIES
METHODS
EVENTS

Connection
Command
Recordset
Fields
Field
Properties
Property
Parameters
Parameter
Errors
Error
Adjectives

descriptive values or strings

Verbs

Programmers can make the Active Data Objects do these verbs

Verbs

No users intervention. Server METHODS only

Connection Attributes
CommandTimeout
ConnectionString
ConnectionTimeout
CursorLocation
DefaultDatabase
IsolationLevel
Mode
Provider
Version
BeginTrans
Close
CommitTrans
Execute
RollbackTrans
Open data_source , User , Password
Command

Create with:

<% Set command_name =
Server.CreateObject("ADODB.Command")%>

ActiveConnection
CommandText
CommandTimeout
Prepared
CreateParameter
(name,
type,
direction,
size,
value)


Execute
(count,
parameters)
options

Recordset AbsolutePage
Absolute_Position
ActiceConnection
BOF
Bookmark
CacheSize
CursorLocation
CursorType
EOF
EditMode
Fields -- see below
Filter
LockType
MaxRecords
PageCount
PageSize
RecordCount
Source
Status
AddNew
CancelBatch
CancelUpdate>br> Clone
Close
Delete
GetRows
Move
MoveNext
MovePrevious
MoveFirst
MoveLast
NextRecordset
Open
ReQuery
ReSync
Supports
Update
UpdateBatch
Fields
(a collection object)
Count Refresh
Item(index)
FieldActualSzie
Attributes
DefinedSize
Name
Tpe
Value
precision
NumericScale
Value
AppendChunk
GetChunk
OriginalValue
UnderlyingValue
Properties
(a collection object)
Count Item
refresh
Property Attributes
Name
Type
Value
Parameters
(a collection object)
Count Append
Delete
Item
Refresh
Parameter Attributes
Direction
Name
NumericScale
precision
Size
Type
Value
AppendChunk
GetChunk
Errors
(a collection object)
Count Clear
Item
ErrorDescription
HelpContext
HelpFile
NativeError
Number
Source
SQLState
art by parks