/ Published in: JavaScript
Expand |
Embed | Plain Text
if ($('section:nth(1) p').is(':visible')) { $(this).html('Hide'); } else { $(this).html('Show'); }
You need to login to post a comment.
paul0078 on 04/15/12
css javascript is jquery visible
1 person have marked this snippet as a favorite
if ($('section:nth(1) p').is(':visible')) { $(this).html('Hide'); } else { $(this).html('Show'); }
You need to login to post a comment.