Toogle Method in Jquery

by Vickram H 2012-09-05 16:14:36

Toogle Method in Jquery:

jQuery toggle() toggles between hide() and show():

Sample Code:


$(document).ready(function(){
$("button").click(function(){
$("p").toggle();
});
});

Tagged in:

467
like
0
dislike
0
mail
flag

You must LOGIN to add comments