Javatpoint Logo
Javatpoint Logo

jQuery hide()

The jQuery hide() method is used to hide the selected elements.

Syntax:

speed: It is an optional parameter. It specifies the speed of the delay. Its possible vales are slow, fast and milliseconds.

easing: It specifies the easing function to be used for transition.

callback: It is also an optional parameter. It specifies the function to be called after completion of hide() effect.

Let's take an example to see the jQuery hide effect.

Test it Now

Output:

This is a little poem:
Twinkle, twinkle, little star
How I wonder what you are
Up above the world so high
Like a diamond in the sky
Twinkle, twinkle little star
How I wonder what you are

Next TopicjQuery show()




Please Share

facebook twitter google plus pinterest tumbler

Latest 4 Tutorials