Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
  • How to use blur() Method in Jquery ?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 305
    Comment on it

     Hi Reader's,
      Welcome to FindNerd, today we are going to discuss how to use blur() Method in Jquery.

    The blur() Method occurs when an element loses focus hence we can say that blur() method is used for attaching a function to run when a blur event occurs.blur() method is also triggers the blur event.

    syntax of blur() method


    The above syntax is used to Trigger the blur event for the selected elements.


    This syntax is used for Attaching a function to the blur event.

    you can see below example:

    <!DOCTYPE html>
    <!-- here add jquery library -->
    <script src=""></script>
       //here call blur() method
          //alert message
            alert("blur its focus");
    Fill your name: <input type="text">
    <!--when you will Write something in the input field,and then click outside the field to blur focus-->

 0 Comment(s)

Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: