focusout() Yöntemi;
focusout() yöntemi bir element odağını kaybedince ne olacağını belirtmek için kullanılır.
İpucu: Bu yöntem genelikle focusOut(); yöntemi ile beraber kullanılır.
Örnek
$("input").focusin(function(){
$(this).css("background-color", "red");
});
$("input").focusout(function(){
$(this).css("background-color", "yellow");
});
Codepen Ön izleme
Kullanım şekilleri;
.focusout(handler);
.focusout(eventData);
.focusout();