show more/less text Click to flag this post

show more/less text Click to flag this post

I have a page with <DIV> where it displays list of articles. On page load, it will display 100 character of description for each article. There will be a "more" anchor. When this is clicked, it will toggle and display the rest of the description and this time it will show a "less" anchor. If it is clicked again, it will toggle back.

It is very similar to youtube.

Since there are many DIVs, I had to assign a unique ID for each.

How do I go about doing this.

Thank you =)