Element.hideFocus (Property)

This property controls whether there is any visible effect of acquiring focus on an object.


JScript - 5.5
Internet Explorer - 5.5
Property/method value type:Boolean primitive
JavaScript syntax:IEmyElement.hideFocus
IEmyElement.hideFocus = aSwitch
Argument list:aSwitchA Boolean value

This simply controls the visible effect of having focus. To control whether an object can receive focus or not, the tabIndex property should be modified instead.

Setting the property true inhibits the visible focus effect. Setting it false restores the visible effect of receiving focus to the normal behavior.

See also:onFocus