blur method
[This documentation is preliminary and is subject to change.]
Causes the element to lose focus and fires the onblur event.
![]() |
Syntax
HRESULT retVal = object.blur();
Standards information
- Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5
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
Build date: 1/26/2012
.png)