How to check the element lost the focus or not?

On the page a lot inputo. Need to know when one of them loses focus
September 19th 19 at 00:11
2 answers
September 19th 19 at 00:13
learn.javascript.ru/focus-blur
The blur event is invoked when focus vanishes, for example the visitor clicks on another location on the screen.
September 19th 19 at 00:15
$('.yo-input').focusout(function(){
/* Yo code here */
});

Find more questions by tags HTMLJavaScript