This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

blur

Method of dom/HTMLElementdom/HTMLElement

Syntax

var object = object.blur();

Return Value

Returns an object of type DOM NodeDOM Node

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Notes

Remarks

This method shifts focus away from the element it is applied to but does not set focus on the next element in the tab order. In Microsoft Internet Explorer 5 and greater, elements that expose the blur method must have the TABINDEX attribute set.

Syntax

Standards information

Attributions