A callback function is executed after the current effect is finished.
Typical syntax: $(selector).hide(speed,callback);
The example below has a callback parameter that is a function that will be executed after the hide effect is completed:
The example below has no callback parameter, and the alert box will be displayed before the hide effect is completed:
Required fields are marked *
Get all latest content delivered to your email free.