Mavengers
Developer's Blog
Tuesday, May 27, 2014
jQuery toggle()
With jQuery, you can toggle between the hide() and show() methods with the toggle() method.
$("button").click(function(){
$("p").toggle();
});
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment