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
- Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]