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
$(selector).toggle(speed,selector);
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.
$(selector).toggle(speed,selector);