javascript blur mendapatkan target baru
p.addEventListener("blur", function(event) {
console.log(event.relatedTarget); //this is the new target element
});
//note: this only works if relatedTarget has tabindex propery list so:
//<div tabindex="0">click me</div>
Friendly Hawk