Skip to content

Instantly share code, notes, and snippets.

@benjskim
Forked from nickjs/gist:6999202
Created October 15, 2013 22:24
Show Gist options
  • Save benjskim/6999627 to your computer and use it in GitHub Desktop.
Save benjskim/6999627 to your computer and use it in GitHub Desktop.
$(function() {
$(".moreabout").click(function(){
if ($(".moreabout").text() == "Read More")
{
$(".moreabout").text("Read Less");
} else
{
$(".moreabout").text("Read More");
}
$(".moreabouttext").slideToggle();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment