onblur event javascript code example
Example: javascript onblur
<input type="text" id="fname" onblur="onBlurFuntion()">
<script>
onBlurFuntion() {
console.log("Input Focus Lost")
}
</script>
<input type="text" id="fname" onblur="onBlurFuntion()">
<script>
onBlurFuntion() {
console.log("Input Focus Lost")
}
</script>