The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jQuery read more / less toggle Re: jQuery read more / less toggle

Member Thanks for this.

One issue I’ve encountered: if you click ‘Read More’ on more than one paragraph, then click ‘Read Less’ on any one of the paragraphs, the other paragraphs will show the ‘Read More’ link AND the additional content with the ‘Read Less’ link.

I tweeked the JoshBlackwood example to behave better with multiple Read More/Read Less paragraphs on the same page.