delay() Effect in Jquery

Home/Jquery/delay() Effect in Jquery

delay() Effect in Jquery

Description:

The jQuery delay() method is used to delay the execution of animation in the queue. It is a best method for delay between the queued jQuery effects.

Syntax

.delay( speed )

Ex :

Duration/speed It specifies the speed of the delay. Its possible vales are slow, fast and milliseconds.

Example:

Output:

After clicking the “Click to slide down using DELAY()” button, the “divpanelBox1” slides down immediately and delay/pause for 1000 milliseconds for next execution(ie.,fadeOut). In  the same way, “divpanelBox2” will make pause for 200 milliseconds for fadeOut().

dotnet-helpers-com-jquery-delay-effects-thiyagu

Leave A Comment