menu

jQuery toggle


jQuery toggle is used to provide the toggle functionality between the hide() and show() method.
It hides the shown elements and shows the hidden elements.


Syntax : jQuery toggle

jQuery toggle Example 1 :

Example

Try it »

jQuery toggle Example 2 :

Example With Speed

Try it »

jQuery toggle

jQuery toggle