Tag Archives: jQuery toggle not working

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

$(selector).toggle(speed,selector);

jQuery toggle Example 1 :

Example

  

Try it »

jQuery toggle Example 2 :

Example With Speed

  

Try it »

jQuery toggle

jQuery toggle