jQuery UI toggle

To toggle the show() or hide() method, the jQuery toggle() method is used. The effect depends on whether the element is hidden or not. Syntax: .toggle( effect, [options], [duration], [complete] ) Parameters: Effect: Used to define the effects which are used for transition. Options: Used to define the specific setting and easing for the effects, … Read more