VOOZH about

URL: https://www.geeksforgeeks.org/jquery/jquery-focusout-method/

⇱ jQuery focusout() Method - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

jQuery focusout() Method

Last Updated : 11 Jul, 2025

The jQueryfocusout() is an inbuilt method that is used to remove focus from the selected element. 

Syntax:

$(selector).focusout(function);

Parameter: It accepts a parameter "function" which is to be executed after the execution of the fadeout method. 

Example 1: jQuery code to show the working of focusout() method.

Output:

👁 Image

Example 2: In this example, we will animate the input box by using focusin() and focusout().

Output:

👁 Image
Comment
Article Tags:

Explore