Sets or retrieves the value indicating whether the object visibly indicates that it has focus.
|Scripting||object.hideFocus(v) [ = bHidden ]|
specifies or receives one of the following values.|
|true||Focus is not visibly indicated.|
|false||Default. Focus is visibly indicated.|
The property is read/write.
The property has a default value of
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.
The focus of an object is visibly indicated by a focus rectanglea dotted rectangle within the boundaries of the object.
This property does not control the ability of an object to receive focus; for that, use the tabIndex property.
The following example shows how to use the HIDEFOCUS attribute to prevent a focus rectangle from appearing on a button.
Button With Rectangle</BUTTON>
Button Without Rectangle</BUTTON>
This feature requires Microsoft® Internet Explorer 5.5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.
There is no public standard that applies to this property.