javaScript Элемент Onblur
document.getElementById("id").addEventListener("blur", function() {
alert("Hello World")
});
Fantastic Frog
document.getElementById("id").addEventListener("blur", function() {
alert("Hello World")
});