Return to Snippet

Revision: 56801
at April 15, 2012 20:32 by paul0078


Initial Code
if ($('section:nth(1) p').is(':visible')) {
	$(this).html('Hide');
}
else
{
	$(this).html('Show');
}

Initial URL

                                

Initial Description

                                

Initial Title
jQuery if statement with .is

Initial Tags
css, javascript, jquery

Initial Language
JavaScript