www.fgks.org   »   [go: up one dir, main page]

ISINDEX Element | isIndex Object

Causes the browser to display a dialog window that prompts the user for a single line of input.

Members Table

The following table lists the members exposed by the isIndex object.

Attributes/Properties
AttributePropertyDescription
ACCESSKEYaccessKey Sets or retrieves the accelerator key for the object.
ACTIONaction Sets or retrieves the URL to which the form content is sent for processing.
ariaBusy New for Windows Internet Explorer 8  Sets or retrieves the busy state of this element.
ariaChecked New for Internet Explorer 8  Sets or retrieves the checked state of this element.
ariaDisabled New for Internet Explorer 8  Sets or retrieves the disabled state of this element.
ariaExpanded New for Internet Explorer 8  Sets or retrieves the expanded state of this element.
ariaHaspopup New for Internet Explorer 8  Sets or retrieves a value indicating whether this element may display a pop-up window.
ariaHidden New for Internet Explorer 8  Sets or retrieves the hidden state of this element.
ariaInvalid New for Internet Explorer 8  Sets or retrieves the invalid state of this element.
ariaLevel New for Internet Explorer 8  Sets or retrieves the level of this element.
ariaMultiselect New for Internet Explorer 8  Sets or retrieves the multiple-selection state of this element.
ariaPosinset New for Internet Explorer 8  Sets or retrieves the current position of an item within a set.
ariaPressed New for Internet Explorer 8  Sets or retrieves the pressed state of a button that can be toggled.
ariaReadonly New for Internet Explorer 8  Sets or retrieves the read-only state of this element.
ariaRequired New for Internet Explorer 8  Sets or retrieves the form-completion requirement of this element.
ariaSecret New for Internet Explorer 8  Sets or retrieves the secret state of this element.
ariaSelected New for Internet Explorer 8  Sets or retrieves the selection state of this element.
ariaSetsize New for Internet Explorer 8  Sets or retrieves the set size of this element.
ATOMICSELECTION Specifies whether the element and its contents must be selected as a whole, indivisible unit.
attributes New for Internet Explorer 8  Retrieves a collection of attributes of the object.
blockDirection Gets a string value that indicates whether the content in the block element flows from left to right, or from right to left.
canHaveHTML Sets or retrieves the value indicating whether the object can contain rich HTML markup.
CLASSclassName Sets or retrieves the class of the object.
clientHeight Retrieves the height of the object including padding, but not including margin, border, or scroll bar.
clientLeft Retrieves the distance between the offsetLeft property and the true left side of the client area.
clientTop Retrieves the distance between the offsetTop property and the true top of the client area.
clientWidth Retrieves the width of the object including padding, but not including margin, border, or scroll bar.
CONTENTEDITABLEcontentEditable Sets or retrieves the string that indicates whether the user can edit the content of the object.
disabled Sets or gets the value that indicates whether the user can interact with the object.
form Retrieves a reference to the form that the object is embedded in.
HIDEFOCUShideFocus Sets or gets the value that indicates whether the object visibly shows that it has focus.
IDid Retrieves the string identifying the object.
isContentEditable Gets the value that indicates whether the user can edit the contents of the object.
isDisabled Gets the value that indicates whether the user can interact with the object.
isMultiLine Retrieves the value indicating whether the content of the object contains one or more lines.
LANGlang Sets or retrieves the language to use.
LANGUAGElanguage Sets or retrieves the language in which the current script is written.
onOffBehavior Gets an object that indicates whether the specified Microsoft DirectAnimation behavior is running.
parentElement Retrieves the parent object in the object hierarchy.
readyState Retrieves the current state of the object.
role New for Internet Explorer 8  Sets or retrieves the role for this element.
scopeName Gets the namespace defined for the element.
scrollHeight Retrieves the scrolling height of the object.
scrollLeft Sets or retrieves the distance between the left edge of the object and the leftmost portion of the content currently visible in the window.
scrollTop Sets or retrieves the distance between the top of the object and the topmost portion of the content currently visible in the window.
scrollWidth Retrieves the scrolling width of the object.
STYLE Sets an inline style for the element.
TABINDEXtabIndex Sets or retrieves the index that defines the tab order for the object.
tagUrn Sets or gets the Uniform Resource Name (URN) specified in the namespace declaration.
UNSELECTABLE Specifies that an element cannot be selected.
Behaviors
BehaviorDescription
clientCaps Provides information about features supported by Internet Explorer, as well as a way for installing browser components on demand.
download Downloads a file and notifies a specified callback function when the download is complete.
homePage Contains information about a user's homepage.
Collections
CollectionDescription
behaviorUrns Returns a collection of Uniform Resource Name (URN) strings identifying the behaviors attached to the element.
Events
EventDescription
onactivate Fires when the object is set as the active element.
onbeforedeactivate Fires immediately before the activeElement is changed from the current object to another object in the parent document.
onbeforeeditfocus Fires before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected.
onblur Fires when the object loses the input focus.
oncontrolselect Fires when the user is about to make a control selection of the object.
ondeactivate Fires when the activeElement is changed from the current object to another object in the parent document.
onfocus Fires when the object receives focus.
onmove Fires when the object moves.
onmoveend Fires when the object stops moving.
onmovestart Fires when the object starts to move.
onreadystatechange Fires when the state of the object has changed.
onresize Fires when the size of the object is about to change.
onresizeend Fires when the user finishes changing the dimensions of the object in a control selection.
onresizestart Fires when the user begins to change the dimensions of the object in a control selection.
Methods
MethodDescription
addBehavior Attaches a behavior to the element.
blur Causes the element to lose focus and fires the onblur event.
componentFromPoint Returns the component located at the specified coordinates via certain events.
dragDrop Initiates a drag event.
fireEvent Fires a specified event on the object.
focus Causes the element to receive the focus and executes the code specified by the onfocus event.
getAttribute New for Internet Explorer 8  Retrieves the value of the specified attribute.
getAttributeNode Gets an attribute object referenced by the attribute.name property.
getBoundingClientRect Retrieves an object that specifies the bounds of a collection of TextRectangle objects.
getClientRects Retrieves a collection of rectangles that describes the layout of the contents of an object or range within the client. Each rectangle describes a single line.
hasAttribute New for Internet Explorer 8  Determines whether an attribute with the specified name exists.
normalize Merges adjacent TextNode objects to produce a normalized document object model.
querySelector New for Internet Explorer 8  Retrieves the first Document Object Model (DOM) element node from descendants of the starting element node that match any selector within the supplied selector string.
querySelectorAll New for Internet Explorer 8  Retrieves all DOM element nodes from descendants of the starting element node that match any selector within the supplied selector strings.
removeAttribute New for Internet Explorer 8  Removes the given attribute from the object.
removeAttributeNode Removes an attribute object from the object.
removeBehavior Detaches a behavior from the element.
setActive Sets the object as active without setting focus to the object.
setAttribute New for Internet Explorer 8  Sets the value of the specified attribute.
setAttributeNode Sets an attribute object node as part of the object.
Objects
ObjectDescription
currentStyle Represents the cascaded format and style of the object as specified by global style sheets, inline styles, and HTML attributes.
Styles
Style attributeStyle propertyDescription
backgroundbackground Sets or retrieves up to five separate background properties of the object.
background-attachmentbackgroundAttachment Sets or retrieves how the background image is attached to the object within the document.
background-colorbackgroundColor Sets or retrieves the color behind the content of the object.
background-imagebackgroundImage Sets or retrieves the background image of the object.
background-positionbackgroundPosition Sets or retrieves the position of the background of the object.
background-repeatbackgroundRepeat Sets or retrieves how the backgroundImage property of the object is tiled.
behaviorbehavior Sets or retrieves the location of the Dynamic HTML (DHTML) behavior.
borderborder Sets or retrieves the properties to draw around the object.
border-bottomborderBottom Sets or retrieves the properties of the bottom border of the object.
border-bottom-colorborderBottomColor Sets or retrieves the color of the bottom border of the object.
border-bottom-styleborderBottomStyle Sets or retrieves the style of the bottom border of the object.
border-bottom-widthborderBottomWidth Sets or retrieves the width of the bottom border of the object.
border-colorborderColor Sets or retrieves the border color of the object.
border-leftborderLeft Sets or retrieves the properties of the left border of the object.
border-left-colorborderLeftColor Sets or retrieves the color of the left border of the object.
border-left-styleborderLeftStyle Sets or retrieves the style of the left border of the object.
border-left-widthborderLeftWidth Sets or retrieves the width of the left border of the object.
border-rightborderRight Sets or retrieves the properties of the right border of the object.
border-right-colorborderRightColor Sets or retrieves the color of the right border of the object.
border-right-styleborderRightStyle Sets or retrieves the style of the right border of the object.
border-right-widthborderRightWidth Sets or retrieves the width of the right border of the object.
border-styleborderStyle Sets or retrieves the style of the left, right, top, and bottom borders of the object.
border-topborderTop Sets or retrieves the properties of the top border of the object.
border-top-colorborderTopColor Sets or retrieves the color of the top border of the object.
border-top-styleborderTopStyle Sets or retrieves the style of the top border of the object.
border-top-widthborderTopWidth Sets or retrieves the width of the top border of the object.
border-widthborderWidth Sets or retrieves the width of the left, right, top, and bottom borders of the object.
bottombottom Sets or retrieves the bottom position of the object in relation to the bottom of the next positioned object in the document hierarchy.
clearclear Sets or retrieves whether the object allows floating objects on its left side, right side, or both, so that the next text displays past the floating objects.
clipclip Sets or retrieves which part of a positioned object is visible.
colorcolor Sets or retrieves the color of the text of the object.
fontfont Sets or retrieves a combination of separate font properties of the object. Alternatively, sets or retrieves one or more of six user-preference fonts.
font-familyfontFamily Sets or retrieves the name of the font used for text in the object.
font-sizefontSize Sets or retrieves a value that indicates the font size used for text in the object.
font-stylefontStyle Sets or retrieves the font style of the object as italic, normal, or oblique.
font-variantfontVariant Sets or retrieves whether the text of the object is in small capital letters.
fontWeight Gets the numeric weight of the font of the object.
font-weightfontWeight Sets or retrieves the weight of the font of the object.
hasLayout Gets a value that indicates whether the object has layout.
layout-flowlayoutFlow Sets or retrieves the direction and flow of the content in the object.
leftleft Sets or retrieves the position of the object relative to the left edge of the next positioned object in the document hierarchy.
letter-spacingletterSpacing Sets or retrieves the amount of additional space between letters in the object.
line-heightlineHeight Sets or retrieves the distance between lines in the object.
marginmargin Sets or retrieves the width of the top, right, bottom, and left margins of the object.
margin-bottommarginBottom Sets or retrieves the height of the bottom margin of the object.
margin-leftmarginLeft Sets or retrieves the width of the left margin of the object.
margin-rightmarginRight Sets or retrieves the width of the right margin of the object.
margin-topmarginTop Sets or retrieves the height of the top margin of the object.
outline New for Internet Explorer 8 outline Sets or retrieves the color, style, and width of the outline frame.
outline-color New for Internet Explorer 8 outlineColor Sets or retrieves the color of the outline frame.
outline-style New for Internet Explorer 8 outlineStyle Sets or retrieves the style of the outline frame.
outline-width New for Internet Explorer 8 outlineWidth Sets or retrieves the width of the outline frame.
page-break-afterpageBreakAfter Sets or retrieves a value indicating whether a page break occurs after the object.
page-break-beforepageBreakBefore Sets or retrieves a string indicating whether a page break occurs before the object.
page-break-inside New for Internet Explorer 8 pageBreakInside Sets or retrieves a string indicating whether a page break is allowed to occur inside the object.
positionposition Sets or retrieves the type of positioning used for the object.
rightright Sets or retrieves the position of the object relative to the right edge of the next positioned object in the document hierarchy.
floatstyleFloat Sets or retrieves on which side of the object the text will flow.
text-align-lasttextAlignLast Sets or retrieves how to align the last line or only line of text in the object.
text-autospacetextAutospace Sets or retrieves the autospacing and narrow space width adjustment of text.
text-decorationtextDecoration Sets or retrieves a value that indicates whether the text in the object has blink, line-through, overline, or underline decorations.
textDecorationBlink Sets or retrieves a Boolean value that indicates whether the object's textDecoration property has a value of "blink."
textDecorationLineThrough Sets or retrieves a Boolean value indicating whether the text in the object has a line drawn through it.
textDecorationNone Sets or retrieves the Boolean value indicating whether the textDecoration property for the object has been set to none.
textDecorationOverline Sets or retrieves a Boolean value indicating whether the text in the object has a line drawn over it.
textDecorationUnderline Sets or retrieves whether the text in the object is underlined.
text-indenttextIndent Sets or retrieves the indentation of the first line of text in the object.
text-kashida-spacetextKashidaSpace Sets or retrieves the ratio of kashida expansion to white space expansion when justifying lines of text in the object.
text-overflowtextOverflow Sets or retrieves a value that indicates whether to render ellipses(...) to indicate text overflow.
text-transformtextTransform Sets or retrieves the rendering of the text in the object.
text-underline-positiontextUnderlinePosition Sets or retrieves the position of the underline decoration that is set through the textDecoration property of the object.
toptop Sets or retrieves the position of the object relative to the top of the next positioned object in the document hierarchy.
visibilityvisibility Sets or retrieves whether the content of the object is displayed.
white-spacewhiteSpace Sets or retrieves a value that indicates whether lines are automatically broken inside the object.
word-spacingwordSpacing Sets or retrieves the amount of additional space between words in the object.
word-wrapwordWrap Sets or retrieves whether to break words when the content exceeds the boundaries of its container.
writing-modewritingMode Sets or retrieves the direction and flow of the content in the object.
z-indexzIndex Sets or retrieves the stacking order of positioned objects.
zoomzoom Sets or retrieves the magnification scale of the object.

Remarks

In HTML 4, this element is deprecated; INPUT is recommended for use instead. The tagName property for isIndex returns input.

The ISINDEX element belongs in the body of the document.

This element is treated as an input object inside a form object. To access the element from script, you must use the all collection of the document object. For example, the syntax for accessing the disabled property of a isIndex object is:

document.all.oIsindex.disabled=false;

This element is a block element.

This element requires a closing tag.

Example

This example uses the ISINDEX element to replace the default prompt.

<ISINDEX PROMPT="Enter a keyword to search for in the index">

Standards Information

This object is deprecated in HTML World Wide Web link.



MSDN Library
Web Development
HTML and CSS
HTML and DHTML Reference
Objects
isIndex