Easy Tutorial
❮ Met Canvas Stroketext Prop Label Form ❯

blur() Method

Input Text Object

Example

Remove focus from a text field:

document.getElementById("myText").blur();

Definition and Usage

The blur() method is used to remove focus from a text field.

Tip: If you need to give focus to a text field, use the focus() method.


Browser Support

All major browsers support the blur() method.


Syntax

Parameters

| None. |

Technical Details

| Return Value: | No return value | | --- | --- |

❮ Met Canvas Stroketext Prop Label Form ❯