Tutorialsplane

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 Tutorial

jQuery Effects

jQuery Traversing

jQuery HTML

jQuery Css

jQuery Scroll

jQuery Dimensions

jQuery Ajax