type Property
As it applies to the FPHTMLButtonElement and IHTMLButtonElement objects
Returns a String that represents the classification and default behavior of the button.
expression.type
*expression * Required. An expression that returns one of the above objects.
Remarks
The type property may be one of the following String values:
Value | Description |
---|---|
button |
Creates a Command button. |
reset |
Creates a Reset button. If it's in a form, this button resets the fields in the form to their initial values. |
submit |
Creates a Submit button. If it's in a form, this button submits the form. |
As it applies to the FPHTMLInputButtonElement, FPHTMLInputFileElement, FPHTMLInputHiddenElement, FPHTMLInputImage, FPHTMLInputTextElement, FPHTMLSelectElement, FPHTMLTextAreaElement, IHTMLInputButtonElement, IHTMLInputFileElement, IHTMLInputHiddenElement, IHTMLInputImage, IHTMLInputTextElement, IHTMLSelectElement, and IHTMLTextAreaElement objects
Returns a String that represents the type of control.
expression.type
*expression * Required. An expression that returns one of the above objects.
Remarks
The type property may be one of the following String values:
Object | Value | Description |
---|---|---|
FPHTMLInputButtonElement and IHTMLInputButtonElement | button |
Creates a button control. |
FPHTMLInputButtonElement and IHTMLInputButtonElement | checkbox |
Creates a checkbox control. |
FPHTMLInputFileElement and IHTMLInputFileElement | file |
Creates a file upload object. |
FPHTMLInputHiddenElement and IHTMLInputHiddenElement | hidden |
Creates a control hidden from a user. |
FPHTMLInputImage and IHTMLInputImage | image |
Creates an image control that can be clicked, causing a form to be immediately submitted. |
FPHTMLInputButtonElement and IHTMLInputButtonElement | password |
Creates a control similar to the text control, except that text is not displayed as the user enters it. |
FPHTMLInputButtonElement and IHTMLInputButtonElement | radio |
Creates radio buttons used for mutually exclusive sets of values. |
FPHTMLInputButtonElement and IHTMLInputButtonElement | reset |
Creates a button that resets a form's controls to their specified initial values. |
FPHTMLInputButtonElement and IHTMLInputButtonElement | submit |
Creates a button that submits a form. |
FPHTMLInputTextElement and IHTMLInputTextElement | text |
Creates a single-line text-entry control. |
FPHTMLSelectElement and IHTMLSelectElement | select-multiple |
Creates a list box from which a user can select multiple items. |
FPHTMLSelectElement and IHTMLSelectElement | select-one |
Creates a list box from which a user can select one item. |
FPHTMLTextAreaElement and IHTMLTextAreaElement | textarea |
Creates a multiple-line text-entry control. |
As it applies to the FPHTMLLIElement, FPHTMLOListElement, FPHTMLUListElement, IHTMLLIElement, IHTMLOListElement, and IHTMLUListElement objects
Sets or returns a String that represents the style of bullet for a numbered or bulleted list.
expression.type
*expression * Required. An expression that returns one of the above objects.
Remarks
The type property may be one of the following String values:
Value | Description |
---|---|
1 |
Displays Arabic numerals for items in a numbered list. |
a |
Displays lowercase letters for items in a numbered list. |
A |
Displays uppercase letters for items in a numbered list. |
i |
Displays lowercase Roman numerals for items in a numbered list. |
I |
Displays uppercase Roman numerals for items in a numbered list. |
disc |
Displays a solid disc for items in a bulleted list. |
circle |
Displays a hollow circle for items in a bulleted list. |
square |
Displays a solid square for items in a bulleted list. |
As it applies to the FPHTMLObjectElement and IHTMLObjectElement objects
Sets or returns a String that represents the MIME type of an OBJECT element.
expression.type
*expression * Required. An expression that returns one of the above objects.
Remarks
MIME is an abbreviation for Multipurpose Internet Mail Extension and is a set of enhancements used with Simple Mail Transfer Protocol (SMTP). Used together, MIME and SMTP allow Internet messages to include a mixture of audio, images, video, and text components, and accommodate a variety of international character sets.
As it applies to the FPHTMLScriptElement and IHTMLScriptElement objects
Sets or returns a String that represents the language associated with a script.
expression.type
*expression * Required. An expression that returns one of the above objects.
Remarks
The type property may be one of the following String values:
Value | Description |
---|---|
text/ecmascript |
ECMAScript. |
text/Jscript |
JScript (compatible with ECMA 262 language specification). |
text/javascript |
JScript. |
text/vbs |
VBScript. |
text/vbscript |
VBScript (same as text/vbs). |
text/xml |
XML. |
As it applies to the FPHTMLStyle and IHTMLStyleElement objects
Sets or returns a String that represents the Cascading Style Sheet (CSS) language in which the style sheet is written.
expression.type
*expression * Required. An expression that returns one of the above objects.
As it applies to the FPHTMLStyleSheet object
Returns a String that represents the Cascading Style Sheet (CSS) language in which a style sheet is written.
expression.type
*expression * Required. An expression that returns one of the above objects.
As it applies to the IHTMLEventObj object
Returns a String that represents the name of the event.
expression.type
*expression * Required. An expression that returns one of the above objects.
As it applies to the IHTMLSelectionObject object
Returns a String that represents the type of selection.
expression.type
*expression * Required. An expression that returns an IHTMLSelectionObject object.
Remarks
The type property can be one of the following String values:
Value | Description |
---|---|
none |
No selection/insertion point. |
text |
Text selection. |
control |
Control selection. |
Applies to | FPHTMLButtonElement Object | FPHTMLInputButtonElement Object | FPHTMLInputFileElement Object | FPHTMLInputHiddenElement Object | FPHTMLInputImage Object | FPHTMLInputTextElement Object | FPHTMLLIElement Object | FPHTMLLinkElement Object | FPHTMLObjectElement Object | FPHTMLOListElement Object | FPHTMLScriptElement Object | FPHTMLSelectElement Object | FPHTMLStyleElement Object | FPHTMLStyleSheet Object | FPHTMLTextAreaElement Object | FPHTMLUListElement Object | IHTMLButtonElement Object | IHTMLEventObj Object | IHTMLInputButtonElement Object | IHTMLInputFileElement Object | IHTMLInputHiddenElement Object | IHTMLInputImage Object | IHTMLInputTextElement Object | IHTMLLIElement Object | IHTMLLinkElement Object | IHTMLObjectElement Object | IHTMLOListElement Object | IHTMLScriptElement Object | IHTMLSelectElement Object | IHTMLSelectionObject Object | IHTMLStyleElement Object | IHTMLStyleSheet Object | IHTMLTextAreaElement Object | IHTMLUListElement Object