Removes focus from the element.
blur() function removes focus from the element and fires a
blur event handlers set on this element by the onBlur( )
function or in the Editor are called.
Removing focus through a call to this function is equivalent to a user clicking on another element or tabbing out of the element manually.
If blur() is called on an element that is not in focus, it has no effect.
The element in focus remains in focus and the
onBlur event handlers
are not called.
function blur(): void
This function does not take any parameters.
This function does not return anything.
Was this helpful?
Remove focus from an element