HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <input type="text" onblur="myFunction()"> <script> function myFunction(){ alert("Input field lost its focus"); } </script> <p><strong>Note</strong> : Click on the input field and after click outside the input field.</p> </body> </html>
OUTPUT
×

Save as Private