HTML - blur

About

When the element loose its focus, it's said to blur.

When an element blur, it fires the blur event.

Programmatically

A navigation of the user can blur the element but you can also do it programmatically

document.activeElement.blur()
$(document.activeElement).blur();





Discover More
Devtool Track Active Element
HTML - Focus (Active element) (and Blur)

HTML The focus is the interactive element actually active on a HTML dom document through: a mouse click (if you mouse click on a text input field, ready to begin typing, this element will come into...



Share this page:
Follow us:
Task Runner