Input URL blur() Method

Definition and Usage

blur() The method is used to remove the focus from the URL field.

Tip:Usage focus() Method Focus can be placed on the URL field.

Example

Remove Focus from URL Field:

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

Try It Yourself

Syntax

urlObject.blur()

Parameters

None.

Technical Details

Return Value:

No Return Value.

Browser Support

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Support Support Support Support Support