Captain Webb's HTML Object Model for VBScript
| ||||||||||||
|
|
|
|
|
|||||||||
|
Descriptive values or strings |
Programmers can cause HTML objects to "do" these verbs |
Users "do" these verbs to the HTML Objects |
|||||||||
| window |
![]() frames
frames(0) <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(0) |
href protocol host hostname port pathname search target hash |
onMouseMove onMouseOver onClick | ||||||||||
anchors(0) |
name | |||||||||||
forms(0) forms(1) forms(2)... |
action encoding method target |
submit | onsubmit | |||||||||
elements(0) or
names from the
refer to these HTML objects: |
Form name Value DefaultVAlue Checked DefaultChecked Length Options SelectedIndex |
Click Focus Blur Select | OnClick OnFocus OnBlur OnChange OnSelect |
|||||||||
options(0) |
Text | |||||||||||
|
|
|
|
|
|||||||||
|
Adjectives Descriptive values or strings |
Verbs Programers can make the server objects do these verbs |
Verbs |
|||||||||
| Request.Form(index).property
Request.Form(0) 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:
| |||||||||||
| 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 | |||||||||||
|
|
|
|
|
|||||||||
|
descriptive values or strings |
Programmers can make the Active Data Objects do these 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 =
|
ActiveConnection CommandText CommandTimeout Prepared |
CreateParameter (name, type, direction, size, value)
| ||||||||||
| 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) | ||||||||||
| Field | ActualSzie 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 | ||||||||||
| Error | Description HelpContext HelpFile NativeError Number Source SQLState | |||||||||||
| art by parks | ||||||||||||