Javatpoint Logo
Javatpoint Logo

jQuery read more/read less

Read more and read less is used to improve the page text visibility. It allows users to read the page's full content by pressing the read more button and hiding the content by pressing the read less button.

The below jQuery script is used to create read more and read less.

Script:

In jQuery, the below code is used to create a Read More and Read Less button.

Code:

Test it Now

Output:

On clicking the Read More button -

jQuery read more/read less

On clicking the Read Less button -

jQuery read more/read less
Next TopicjQuery star rating




Youtube For Videos Join Our Youtube Channel: Join Now

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA