blur method

[This documentation is preliminary and is subject to change.]

Causes the element to lose focus and fires the onblur event.

Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5

Syntax

HRESULT retVal = object.blur();

Standards information

Parameters

This method has no parameters.

Return value

Type: HRESULT

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

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.

See also

focus

 

 

Build date: 1/26/2012