Sitemap
jQuery(document).ready(function($) { $('.readmore-text').hide(); $('.readmore-text').after('Read More'); $('.readMore').click(function(){ $(this).prev().slideToggle(200,function() { $(this).next('.readMore').text(function (index, text) { return (text == 'Read More' ? 'Close' : 'Read More'); }); }); return false; }); });