Javatpoint Logo

91-9990449935

 0120-4256464

jQuery UI hide

The jQuery hide() method is used to manage jQuery UI visual effects. It applies an animation effect to hide elements.

Syntax:

Parameters of hide method:

  • Effect: This parameter specifies the effects which are used for transition.
  • Options: This is used for specifying the specific setting and easing for the effects. Each effect has its own set of options.
  • Duration: This specifies the time duration and indicates the number of milliseconds of the effect. Its default value is 400.
  • Complete: It is a callback method. It is called for each element when the effect is completed for the elements.

Example of jQuery UI hide() method

Let's take an example of jQuery UI shake effect with hide() method.

Test it Now
Next TopicjQuery UI Show